mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +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"
|
"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": {
|
"tough-cookie": {
|
||||||
"version": "2.4.3",
|
"version": "2.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
|
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ module.exports = {
|
|||||||
init: (dclient) => {
|
init: (dclient) => {
|
||||||
var client = dclient
|
var client = dclient
|
||||||
|
|
||||||
|
return;
|
||||||
client.on("message", (msg) => {
|
client.on("message", (msg) => {
|
||||||
if (swearjar.profane(msg.cleanContent))
|
if (swearjar.profane(msg.cleanContent)) msg.reply("that's profane :(")
|
||||||
msg.reply("that's profane :(")
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user