remove problematic toLowerCase()
This commit is contained in:
parent
a0d3287201
commit
4aaef4dfa2
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue