went case insensitive

This commit is contained in:
Dalton
2018-12-12 21:51:50 -08:00
parent 0dc5d0b94a
commit 6ab672ceb5

2
bot.js
View File

@@ -462,7 +462,7 @@ client.on('message', message => {
let cmd = args[0];
// todo make case insensitive
switch (cmd) {
switch (cmd.toLowerCase()) {
// Reply commands
case 'command':
case 'commands':