diff --git a/commands/general/tweet.js b/commands/general/tweet.js index cd53edb..bee6ac5 100644 --- a/commands/general/tweet.js +++ b/commands/general/tweet.js @@ -31,8 +31,8 @@ class tweetCommand extends Command { async exec(message, args) { let censor = reload('../../json/twitter/censor.json'); let uncensor = reload('../../json/twitter/uncensor.json'); - filter.addWords(censor); - filter.removeWords(uncensor); + filter.addWords(...censor); + filter.removeWords(...uncensor); const blacklist = reload('../../json/twiBlacklist.json'); const channel = this.client.channels.get(twiChannel);