Vladimir Hodakov
5820a37326
This commit may be used as template for making any new Telegram bots. Just check out it, change your variables and start developing new shiny bot! Maybe I need to create bot generator...
17 lines
406 B
Go
17 lines
406 B
Go
// Fantasy World Zookeeper Bot
|
|
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
|
|
|
package commandsv1
|
|
|
|
import (
|
|
"gitlab.com/toby3d/telegram"
|
|
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/telegram"
|
|
)
|
|
|
|
// StartCommand responds to /start message
|
|
func StartCommand(update *telegram.Update) {
|
|
message := "*Hello, hello, hello*"
|
|
|
|
itelegram.RespondWithMarkdown(update.Message.Chat.ID, message)
|
|
}
|