From d4aaeb603b4b5a59bf8574ce879a8dcffc3ac396 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 11 Aug 2019 19:33:27 +0200 Subject: [PATCH] Don't put to lowercase --- commands/admin/tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/admin/tag.js b/commands/admin/tag.js index 34bf77f..073eee9 100644 --- a/commands/admin/tag.js +++ b/commands/admin/tag.js @@ -45,7 +45,7 @@ class TagCommand extends Command { const filter = m => m.content && m.author.id == message.author.id; message.channel.awaitMessages(filter, {time: 5000, max: 1, errors: ['time'] }) .then(async messages => { - let messageContent = messages.map(messages => messages.content.tolowerCase()); + let messageContent = messages.map(messages => messages.content); if (messageContent == 'y' || messageContent == 'yes') { const body = {trigger: args.trigger, response: args.response, ownerID: message.author.id, serverID: message.guild.id}; await Tag.update(body, {where: {trigger: args.trigger, serverID: message.guild.id}});