Merge branch 'master' of gitlab.com:LoicBersier/DiscordBot

This commit is contained in:
Loïc Bersier 2018-11-03 13:03:29 +01:00
commit 68c7c04878
2 changed files with 5 additions and 4 deletions

View file

@ -25,10 +25,10 @@ module.exports = class feedbackCommand extends Command {
}
async run(message, { text }) {
if(blacklist[msg.author.id])
return msg.channel.send("You are blacklisted")
if(blacklist[message.author.id])
return message.channel.send("You are blacklisted")
const channel = this.client.channels.get(feedbackChannel);
channel.send(`from ${message.author.username} (${message.author} : ${message.author.id}): ${text}`);
channel.send(`from ${message.author.username} (${message.author.id}) : ${text}`);
message.say('Your feedback has been sent!');
}
};

View file

@ -5,5 +5,6 @@
"hmmmmmm": "https://i.imgur.com/pGyPjxy.png",
"hmmmmmmmmm": "https://i.imgur.com/pJsqS40.png",
"i came": "https://cdn.discordapp.com/attachments/488538184074919947/496035415548100649/image0-109.jpg",
"nibba": "https://media.discordapp.net/attachments/240843640375607296/498766650779369500/43195741_339235693514784_3556036795701395456_n.jpg"
"nibba": "https://media.discordapp.net/attachments/240843640375607296/498766650779369500/43195741_339235693514784_3556036795701395456_n.jpg",
"he cookin": "https://cdn.discordapp.com/attachments/482734525563273218/508083884408307732/28-he-cookin.w330.h330.gif"
}