diff --git a/commands/owner/twitter/censor.js b/commands/owner/twitter/censor.js index aa0905c..4b55ed5 100644 --- a/commands/owner/twitter/censor.js +++ b/commands/owner/twitter/censor.js @@ -25,6 +25,8 @@ class censorCommand extends Command { async exec(message, args) { let word = args.word; + word = word.toLowerCase(); + let words = []; let json = JSON.stringify(words); diff --git a/commands/owner/twitter/uncensor.js b/commands/owner/twitter/uncensor.js index 9485975..918b075 100644 --- a/commands/owner/twitter/uncensor.js +++ b/commands/owner/twitter/uncensor.js @@ -24,7 +24,9 @@ class uncensorCommand extends Command { async exec(message, args) { let word = args.word; - + + word = word.toLowerCase(); + let words = []; let json = JSON.stringify(words);