forked from Supositware/Haha-Yes
fixed thing, i guess
This commit is contained in:
parent
2169894762
commit
be6ee0869c
31 changed files with 31 additions and 31 deletions
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ const blacklist = require('../../blacklist');module.exports = class printCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
async run(message, { text }) {
|
async run(message, { text }) {
|
||||||
let blacklistJson = new SelfReloadJSON('json/blacklist.json');
|
let blacklistJson = new SelfReloadJSON('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
|
@ -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('./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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue