From 3abb376397d5d5c347ec354d289a81abab65c6c5 Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Mon, 24 Jul 2017 02:13:04 +0300 Subject: [PATCH] Make commands case-insensitive --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index 6f6620c..9714df3 100644 --- a/src/index.js +++ b/src/index.js @@ -17,6 +17,9 @@ const bot = new Eris.CommandClient(config.token, {}, { ignoreSelf: true, ignoreBots: true, defaultHelpCommand: false, + defaultCommandOptions: { + caseInsensitive: true, + }, }); const restBot = new Eris.Client(`Bot ${config.token}`, {