mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
interact: fix telegram message length check
This commit is contained in:
parent
b855267604
commit
0b9320f7dc
|
@ -157,8 +157,10 @@ func (tm *Telegram) Start(context.Context) {
|
||||||
|
|
||||||
if reply.set {
|
if reply.set {
|
||||||
reply.build()
|
reply.build()
|
||||||
|
if len(reply.message) > 0 || reply.menu != nil {
|
||||||
checkSendErr(tm.Bot.Send(m.Chat, reply.message, reply.menu))
|
checkSendErr(tm.Bot.Send(m.Chat, reply.message, reply.menu))
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
var cmdList []telebot.Command
|
var cmdList []telebot.Command
|
||||||
|
|
Loading…
Reference in New Issue
Block a user