hope it worked this time

This commit is contained in:
Loic Bersier 2018-12-05 00:57:44 +01:00
parent 7bef46bb0c
commit 7ec4ab3ffc
31 changed files with 31 additions and 31 deletions

View file

@ -15,7 +15,7 @@ module.exports = class AdviceCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -14,7 +14,7 @@ module.exports = class BadMemeCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -19,7 +19,7 @@ module.exports = class clapCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -13,7 +13,7 @@ module.exports = class dankCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -24,7 +24,7 @@ module.exports = class DespacitoCommand extends Command {
} }
async run(message, { user }) { async run(message, { user }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -20,7 +20,7 @@ module.exports = class emoteSayCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -13,7 +13,7 @@ module.exports = class FunFactCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -15,7 +15,7 @@ module.exports = class BadMemeCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -25,7 +25,7 @@ module.exports = class printCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -21,7 +21,7 @@ module.exports = class redditCommand extends Command {
} }
async run(message, { sub }) { async run(message, { sub }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -20,7 +20,7 @@ module.exports = class sayCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -20,7 +20,7 @@ module.exports = class saydCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -30,7 +30,7 @@ module.exports = class faceappCommand extends Command {
} }
async run(message, { url, type }) { async run(message, { url, type }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -17,7 +17,7 @@ module.exports = class fetishCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -17,7 +17,7 @@ module.exports = class godCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -17,7 +17,7 @@ module.exports = class humanCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -26,7 +26,7 @@ module.exports = class idubbbzCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -26,7 +26,7 @@ module.exports = class idubbbzpaintCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -17,7 +17,7 @@ module.exports = class likeCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -17,7 +17,7 @@ module.exports = class uglyCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -21,7 +21,7 @@ module.exports = class AvatarCommand extends Command {
} }
async run(message, { user }) { async run(message, { user }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -23,7 +23,7 @@ module.exports = class downloadCommand extends Command {
} }
async run(message, { link }) { async run(message, { link }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -25,7 +25,7 @@ module.exports = class feedbackCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -21,7 +21,7 @@ module.exports = class InfoCommand extends Command {
} }
async run(message, { search }) { async run(message, { search }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -13,7 +13,7 @@ module.exports = class InviteCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -17,7 +17,7 @@ module.exports = class PingCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -14,7 +14,7 @@ module.exports = class ServerCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -12,7 +12,7 @@ module.exports = class statsCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -12,7 +12,7 @@ module.exports = class supportMeCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -31,7 +31,7 @@ module.exports = class translationCommand extends Command {
} }
async run(message, { text, language }) { async run(message, { text, language }) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)

View file

@ -13,7 +13,7 @@ module.exports = class UpDootCommand extends Command {
} }
async run(message) { async run(message) {
let blacklistJson = new SelfReloadJSON('./json/blacklist.json'); let blacklistJson = new SelfReloadJSON('DiscordBot/json/blacklist.json');
if(blacklistJson[message.author.id]) if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message) return blacklist(blacklistJson[message.author.id] , message)