diff --git a/main.go b/main.go index 76e1ab3..1b4a74f 100644 --- a/main.go +++ b/main.go @@ -103,7 +103,8 @@ func main() { return } - if update.Message != nil && update.Message.Text != "" { + // Ignore if Text is empty or is a command + if update.Message != nil && update.Message.Text != "" && update.Message.Text[0] != '/' { chatID := update.Message.Chat.ID g, _ := chats.LoadOrStore(chatID, glist.NewGList(chatID))