This commit is contained in:
2019-03-19 05:38:33 +11:00
parent ba26c7bcc3
commit ba4814464f
3 changed files with 8 additions and 3 deletions

View File

@@ -5,9 +5,9 @@ module.exports = {
init: (dclient) => {
var client = dclient
return;
client.on("message", (msg) => {
if (swearjar.profane(msg.cleanContent))
msg.reply("that's profane :(")
if (swearjar.profane(msg.cleanContent)) msg.reply("that's profane :(")
})
}
}