Parse readable message content for commands
This commit is contained in:
parent
e3ab2d512f
commit
65a4ac5bed
|
@ -23,7 +23,7 @@ object Kagebot {
|
|||
return
|
||||
}
|
||||
for (command in Globals.commands) {
|
||||
if (command.matches(event.messageContent)) {
|
||||
if (command.matches(event.readableMessageContent)) {
|
||||
command.execute(event)
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user