This commit is contained in:
shoopea 2019-05-03 11:34:38 +08:00
parent 108fa3332d
commit c986f1559f

4
bot.go
View File

@ -7,6 +7,10 @@ import (
tb "gopkg.in/tucnak/telebot.v2" tb "gopkg.in/tucnak/telebot.v2"
) )
var (
b *tb.Bot
)
func StartBot() { func StartBot() {
// Registering bot // Registering bot
b, err := tb.NewBot(tb.Settings{ b, err := tb.NewBot(tb.Settings{