remove botHello code

This commit is contained in:
shoopea 2020-02-13 16:51:36 +08:00
parent 469c2975bc
commit dd88e05a52

7
bot.go
View File

@ -12,13 +12,6 @@ import (
)
func BotHandlers(b *tb.Bot) {
b.Handle("/hello", func(m *tb.Message) {
s, err := botHello(m)
logOnError(err, "/hello")
if err == nil {
b.Send(m.Sender, s)
}
})
b.Handle("/test", botTest)
b.Handle("/test_delay", botTestDelay)