diff --git a/cmd/run.go b/cmd/run.go index 8a217ef..8cc4760 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -86,7 +86,7 @@ func run() error { for u := range updates { log.Debugf("Got message: %v", u) - if u.Message == nil { + if u.Message == nil || !u.Message.IsCommand() { log.Debug("Received non-message or non-command") continue }