create asset map for admin panel
This commit is contained in:
parent
e7b21a45b3
commit
722431e8a5
@ -21,6 +21,18 @@ var adminCommands = map[string]func(BotController, tgbotapi.Update, User){
|
|||||||
"/setchannelid": handleDefaultMessage, // just type it in channel which one is supposed to be lined with bot
|
"/setchannelid": handleDefaultMessage, // just type it in channel which one is supposed to be lined with bot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var assets = map[string]string {
|
||||||
|
"Стартовая картинка": "preview_image",
|
||||||
|
"Приветственный текст": "start",
|
||||||
|
"Кнопка для заявки": "leave_ticket_button",
|
||||||
|
"ID чата": "supportchatid",
|
||||||
|
"ID канала": "channelid",
|
||||||
|
"Уведомление об отправке тикета": "sended_notify",
|
||||||
|
"Просьба оставить тикет": "leaveticket_message",
|
||||||
|
"Просьба подписаться на канал": "subscribe_message",
|
||||||
|
"Ссылка на канал": "channel_link",
|
||||||
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var bc = GetBotController()
|
var bc = GetBotController()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user