From be6ee0869cde50c5d52ad7ee45b36e11e1cb5734 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Tue, 4 Dec 2018 16:22:45 +0100 Subject: [PATCH] fixed thing, i guess --- commands/fun/advice.js | 2 +- commands/fun/badmeme.js | 2 +- commands/fun/clap.js | 2 +- commands/fun/dank.js | 2 +- commands/fun/despacito.js | 2 +- commands/fun/emotesay.js | 2 +- commands/fun/funfact.js | 2 +- commands/fun/ib.js | 2 +- commands/fun/print.js | 2 +- commands/fun/reddit.js | 2 +- commands/fun/say.js | 2 +- commands/fun/sayd.js | 2 +- commands/images/face.js | 2 +- commands/images/fetish.js | 2 +- commands/images/god.js | 2 +- commands/images/human.js | 2 +- commands/images/idubbbz.js | 2 +- commands/images/idubbbzpaint.js | 2 +- commands/images/like.js | 2 +- commands/images/ugly.js | 2 +- commands/utility/avatar.js | 2 +- commands/utility/download.js | 2 +- commands/utility/feedback.js | 2 +- commands/utility/info.js | 2 +- commands/utility/invite.js | 2 +- commands/utility/ping.js | 2 +- commands/utility/server.js | 2 +- commands/utility/stats.js | 2 +- commands/utility/supportme.js | 2 +- commands/utility/translate.js | 2 +- commands/utility/updoot.js | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/commands/fun/advice.js b/commands/fun/advice.js index b185ab20..57bff455 100644 --- a/commands/fun/advice.js +++ b/commands/fun/advice.js @@ -15,7 +15,7 @@ module.exports = class AdviceCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/badmeme.js b/commands/fun/badmeme.js index 99b251b3..933ae6dc 100644 --- a/commands/fun/badmeme.js +++ b/commands/fun/badmeme.js @@ -14,7 +14,7 @@ module.exports = class BadMemeCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/clap.js b/commands/fun/clap.js index 40be2436..539355ae 100644 --- a/commands/fun/clap.js +++ b/commands/fun/clap.js @@ -19,7 +19,7 @@ module.exports = class clapCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/dank.js b/commands/fun/dank.js index 67c0953a..03042a64 100644 --- a/commands/fun/dank.js +++ b/commands/fun/dank.js @@ -13,7 +13,7 @@ module.exports = class dankCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/despacito.js b/commands/fun/despacito.js index 819d89af..fd5dd4cc 100644 --- a/commands/fun/despacito.js +++ b/commands/fun/despacito.js @@ -24,7 +24,7 @@ module.exports = class DespacitoCommand extends Command { } async run(message, { user }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/emotesay.js b/commands/fun/emotesay.js index 622708f3..b16677a1 100644 --- a/commands/fun/emotesay.js +++ b/commands/fun/emotesay.js @@ -20,7 +20,7 @@ module.exports = class emoteSayCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/funfact.js b/commands/fun/funfact.js index 90b39d7c..2b78a015 100644 --- a/commands/fun/funfact.js +++ b/commands/fun/funfact.js @@ -13,7 +13,7 @@ module.exports = class FunFactCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/ib.js b/commands/fun/ib.js index 66df4baa..ff04c93c 100644 --- a/commands/fun/ib.js +++ b/commands/fun/ib.js @@ -15,7 +15,7 @@ module.exports = class BadMemeCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/print.js b/commands/fun/print.js index e90ea7e5..c4df51c9 100644 --- a/commands/fun/print.js +++ b/commands/fun/print.js @@ -25,7 +25,7 @@ const blacklist = require('../../blacklist');module.exports = class printCommand } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index b65a02e5..1274e8c8 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -21,7 +21,7 @@ module.exports = class redditCommand extends Command { } async run(message, { sub }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/say.js b/commands/fun/say.js index af43bf22..3da3b33f 100644 --- a/commands/fun/say.js +++ b/commands/fun/say.js @@ -20,7 +20,7 @@ module.exports = class sayCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/fun/sayd.js b/commands/fun/sayd.js index 973ca76a..e85dca94 100644 --- a/commands/fun/sayd.js +++ b/commands/fun/sayd.js @@ -20,7 +20,7 @@ module.exports = class saydCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/face.js b/commands/images/face.js index 54428c85..e054cb0f 100644 --- a/commands/images/face.js +++ b/commands/images/face.js @@ -30,7 +30,7 @@ module.exports = class faceappCommand extends Command { } async run(message, { url, type }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/fetish.js b/commands/images/fetish.js index 50f46e10..999b149e 100644 --- a/commands/images/fetish.js +++ b/commands/images/fetish.js @@ -17,7 +17,7 @@ module.exports = class fetishCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/god.js b/commands/images/god.js index 72eb93e3..d0b20791 100644 --- a/commands/images/god.js +++ b/commands/images/god.js @@ -17,7 +17,7 @@ module.exports = class godCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/human.js b/commands/images/human.js index 55e2d806..8868aa08 100644 --- a/commands/images/human.js +++ b/commands/images/human.js @@ -17,7 +17,7 @@ module.exports = class humanCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/idubbbz.js b/commands/images/idubbbz.js index 36d64310..42eb0382 100644 --- a/commands/images/idubbbz.js +++ b/commands/images/idubbbz.js @@ -26,7 +26,7 @@ module.exports = class idubbbzCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/idubbbzpaint.js b/commands/images/idubbbzpaint.js index 34f502db..ff8908f6 100644 --- a/commands/images/idubbbzpaint.js +++ b/commands/images/idubbbzpaint.js @@ -26,7 +26,7 @@ module.exports = class idubbbzpaintCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/like.js b/commands/images/like.js index e8b972e7..aa5ec162 100644 --- a/commands/images/like.js +++ b/commands/images/like.js @@ -17,7 +17,7 @@ module.exports = class likeCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/images/ugly.js b/commands/images/ugly.js index 637ab0d7..1bb8b723 100644 --- a/commands/images/ugly.js +++ b/commands/images/ugly.js @@ -17,7 +17,7 @@ module.exports = class uglyCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/avatar.js b/commands/utility/avatar.js index 2ac23552..c422d81d 100644 --- a/commands/utility/avatar.js +++ b/commands/utility/avatar.js @@ -21,7 +21,7 @@ module.exports = class AvatarCommand extends Command { } async run(message, { user }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/download.js b/commands/utility/download.js index 645442fa..6208a398 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -24,7 +24,7 @@ module.exports = class downloadCommand extends Command { } async run(message, { link }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/feedback.js b/commands/utility/feedback.js index bbf153f0..1214aaaf 100644 --- a/commands/utility/feedback.js +++ b/commands/utility/feedback.js @@ -25,7 +25,7 @@ module.exports = class feedbackCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/info.js b/commands/utility/info.js index 77abd770..babdb087 100644 --- a/commands/utility/info.js +++ b/commands/utility/info.js @@ -21,7 +21,7 @@ module.exports = class InfoCommand extends Command { } async run(message, { search }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/invite.js b/commands/utility/invite.js index 0fc76897..fc51c6be 100644 --- a/commands/utility/invite.js +++ b/commands/utility/invite.js @@ -13,7 +13,7 @@ module.exports = class InviteCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/ping.js b/commands/utility/ping.js index 42d3805a..09a14d87 100644 --- a/commands/utility/ping.js +++ b/commands/utility/ping.js @@ -17,7 +17,7 @@ module.exports = class PingCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/server.js b/commands/utility/server.js index c99f72ef..74e3fd85 100644 --- a/commands/utility/server.js +++ b/commands/utility/server.js @@ -14,7 +14,7 @@ module.exports = class ServerCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/stats.js b/commands/utility/stats.js index 8231477c..6bdeaa60 100644 --- a/commands/utility/stats.js +++ b/commands/utility/stats.js @@ -12,7 +12,7 @@ module.exports = class statsCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/supportme.js b/commands/utility/supportme.js index 1af1d781..61cfbe6b 100644 --- a/commands/utility/supportme.js +++ b/commands/utility/supportme.js @@ -12,7 +12,7 @@ module.exports = class supportMeCommand extends Command { } async run(message, { text }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/translate.js b/commands/utility/translate.js index bdb0eae3..deddba70 100644 --- a/commands/utility/translate.js +++ b/commands/utility/translate.js @@ -31,7 +31,7 @@ module.exports = class translationCommand extends Command { } async run(message, { text, language }) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message) diff --git a/commands/utility/updoot.js b/commands/utility/updoot.js index e5afec73..3e6ae016 100644 --- a/commands/utility/updoot.js +++ b/commands/utility/updoot.js @@ -13,7 +13,7 @@ module.exports = class UpDootCommand extends Command { } async run(message) { - let blacklistJson = new SelfReloadJSON('json/blacklist.json'); + let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); if(blacklistJson[message.author.id]) return blacklist(blacklistJson[message.author.id] , message)