forked from Supositware/Haha-Yes
word.toLowerCase() cause issue??
This commit is contained in:
parent
656bfc5ce1
commit
4e32ff8611
2 changed files with 5 additions and 7 deletions
|
@ -10,7 +10,8 @@ class censorCommand extends Command {
|
|||
args: [
|
||||
{
|
||||
id: 'word',
|
||||
type: 'string'
|
||||
type: 'string',
|
||||
match: 'rest'
|
||||
}
|
||||
],
|
||||
description: {
|
||||
|
@ -24,8 +25,6 @@ class censorCommand extends Command {
|
|||
async exec(message, args) {
|
||||
let word = args.word;
|
||||
|
||||
word = word.toLowerCase();
|
||||
|
||||
let words = [];
|
||||
let json = JSON.stringify(words);
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ class uncensorCommand extends Command {
|
|||
args: [
|
||||
{
|
||||
id: 'word',
|
||||
type: 'string'
|
||||
type: 'string',
|
||||
match: 'rest'
|
||||
}
|
||||
],
|
||||
description: {
|
||||
|
@ -24,8 +25,6 @@ class uncensorCommand extends Command {
|
|||
async exec(message, args) {
|
||||
let word = args.word;
|
||||
|
||||
word = word.toLowerCase();
|
||||
|
||||
let words = [];
|
||||
let json = JSON.stringify(words);
|
||||
|
||||
|
|
Loading…
Reference in a new issue