forked from Supositware/Haha-Yes
had nothing wrong
This commit is contained in:
parent
944d43ee77
commit
a6f0fff503
2 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,8 @@ class censorCommand extends Command {
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
let word = args.word;
|
let word = args.word;
|
||||||
|
|
||||||
|
word = word.toLowerCase();
|
||||||
|
|
||||||
let words = [];
|
let words = [];
|
||||||
let json = JSON.stringify(words);
|
let json = JSON.stringify(words);
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,9 @@ class uncensorCommand extends Command {
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
let word = args.word;
|
let word = args.word;
|
||||||
|
|
||||||
|
word = word.toLowerCase();
|
||||||
|
|
||||||
let words = [];
|
let words = [];
|
||||||
let json = JSON.stringify(words);
|
let json = JSON.stringify(words);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue