telegramnotifier: add warning

This commit is contained in:
c9s 2021-10-15 12:03:15 +08:00
parent 08c300fbad
commit a1779b6823

View File

@ -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
}