Make commands case-insensitive

master
Miikka Virtanen 2017-07-24 02:13:04 +03:00
parent 6a9e55ade0
commit 3abb376397
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ const bot = new Eris.CommandClient(config.token, {}, {
ignoreSelf: true, ignoreSelf: true,
ignoreBots: true, ignoreBots: true,
defaultHelpCommand: false, defaultHelpCommand: false,
defaultCommandOptions: {
caseInsensitive: true,
},
}); });
const restBot = new Eris.Client(`Bot ${config.token}`, { const restBot = new Eris.Client(`Bot ${config.token}`, {