censor/uncensor
This commit is contained in:
parent
31d7eab6ce
commit
fcd0438051
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ class tweetCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
let censor = reload('../../json/twitter/censor.json');
|
||||||
|
let uncensor = reload('../../json/twitter/uncensor.json');
|
||||||
|
filter.addWords(censor);
|
||||||
|
filter.removeWords(uncensor);
|
||||||
|
|
||||||
const blacklist = reload('../../json/twiBlacklist.json');
|
const blacklist = reload('../../json/twiBlacklist.json');
|
||||||
const channel = this.client.channels.get(twiChannel);
|
const channel = this.client.channels.get(twiChannel);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue