From ba4814464f4810d73b42c53245b4112cfa6d2bbf Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Tue, 19 Mar 2019 05:38:33 +1100 Subject: [PATCH] eh --- package-lock.json | 5 +++++ package.json | 2 +- plugins/swearjar.js | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0a82a97..7479bcc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index bd50b2b..ab44ce6 100644 --- a/package.json +++ b/package.json @@ -15,4 +15,4 @@ }, "author": "", "license": "ISC" -} +} \ No newline at end of file diff --git a/plugins/swearjar.js b/plugins/swearjar.js index f0d178b..593f5ca 100644 --- a/plugins/swearjar.js +++ b/plugins/swearjar.js @@ -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 :(") }) } } \ No newline at end of file