fixed thing, i guess

This commit is contained in:
Loic Bersier 2018-12-04 16:22:45 +01:00
parent 2169894762
commit be6ee0869c
31 changed files with 31 additions and 31 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)