mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
add warning if owner's chat is not configured
This commit is contained in:
parent
0fe11438bd
commit
08c300fbad
|
@ -82,6 +82,7 @@ func (it *Interaction) HandleInfo(m *telebot.Message) {
|
|||
|
||||
func (it *Interaction) SendToOwner(message string) {
|
||||
if it.session.OwnerChat == nil {
|
||||
log.Warnf("owner's chat is not configured, you need to auth first")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user