1
0
Fork 0

remove problematic toLowerCase()

akairo
Supositware 5 years ago
parent a0d3287201
commit 4aaef4dfa2

@ -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 = {};

Loading…
Cancel
Save