This commit is contained in:
Supositware 2019-02-26 15:28:08 +01:00
parent a6f0fff503
commit ee912b910e

View file

@ -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);