ignore messages that are too short
This commit is contained in:
1 parent
6966568ec1
commit
a33446e5e7
1 file changed
+2
@@ -90,6 +90,8 @@ func message_create (s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||
return
|
||||
}
|
||||
|
||||
} else { // message too short, don't do anything
|
||||
return
|
||||
}
|
||||
|
||||
// get our message's content without our bot's token
|
||||
|
||||
Reference in new issue
Block a user