mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
telegramnotifier: add warning
This commit is contained in:
parent
08c300fbad
commit
a1779b6823
|
@ -64,6 +64,7 @@ func (it *Interaction) Session() *Session {
|
|||
|
||||
func (it *Interaction) HandleInfo(m *telebot.Message) {
|
||||
if it.session.Owner == nil || it.session.OwnerChat == nil {
|
||||
log.Warnf("can not handle info command, either owner or owner chat is not configured, please auth first")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user