1
0
Fork 0
Loic Bersier 6 years ago
parent 8085da0464
commit 817f1341e0

@ -25,7 +25,7 @@ module.exports = class feedbackCommand extends Command {
} }
async run(message, { text }) { async run(message, { text }) {
if(blacklist[msg.author.id]) if(blacklist[message.author.id])
return message.channel.send("You are blacklisted") return message.channel.send("You are blacklisted")
const channel = this.client.channels.get(feedbackChannel); 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} : ${message.author.id}): ${text}`);

Loading…
Cancel
Save