This commit is contained in:
Loic Bersier 2018-11-03 02:09:48 +01:00
parent b0a3ae1e81
commit 437fb0a90d

View file

@ -28,7 +28,7 @@ module.exports = class feedbackCommand extends Command {
if(blacklist[message.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.name} : ${message.author.id}): ${text}`); channel.send(`from ${message.author.username} (${message.author.id}) : ${text}`);
message.say('Your feedback has been sent!'); message.say('Your feedback has been sent!');
} }
}; };