ignore messages that are too short

This commit is contained in:
2020-06-13 17:15:50 -05:00
parent 6966568ec1
commit a33446e5e7

View File

@@ -90,6 +90,8 @@ func message_create (s *discordgo.Session, m *discordgo.MessageCreate) {
return return
} }
} else { // message too short, don't do anything
return
} }
// get our message's content without our bot's token // get our message's content without our bot's token