remove problematic toLowerCase()

This commit is contained in:
Supositware 2019-03-05 20:56:30 +01:00
parent a0d3287201
commit 4aaef4dfa2

View file

@ -27,8 +27,8 @@ class autoresponseCommand extends Command {
} }
async exec(message, args) { async exec(message, args) {
let text = args.text.toLowerCase(); let text = args.text;
let all = args.all.toLowerCase(); let all = args.all;
if (text.toLowerCase() == 'enable' || text.toLowerCase() == 'disable') { if (text.toLowerCase() == 'enable' || text.toLowerCase() == 'disable') {
let autoresponse = {}; let autoresponse = {};