mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
eh
This commit is contained in:
5
package-lock.json
generated
5
package-lock.json
generated
@@ -399,6 +399,11 @@
|
||||
"safe-buffer": "~5.1.0"
|
||||
}
|
||||
},
|
||||
"swearjar": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/swearjar/-/swearjar-0.2.0.tgz",
|
||||
"integrity": "sha1-w/Gje/zXye+z1mY8mNTBAqnjyj0="
|
||||
},
|
||||
"tough-cookie": {
|
||||
"version": "2.4.3",
|
||||
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
||||
}
|
||||
@@ -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 :(")
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user