From ee912b910e0b6a0ae3f7336e9eea840405de4af5 Mon Sep 17 00:00:00 2001 From: Supositware Date: Tue, 26 Feb 2019 15:28:08 +0100 Subject: [PATCH] fixed --- commands/general/tweet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);