forked from Supositware/Haha-Yes
fixed feedback
This commit is contained in:
parent
07e243e928
commit
8085da0464
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module.exports = class feedbackCommand extends Command {
|
||||||
|
|
||||||
async run(message, { text }) {
|
async run(message, { text }) {
|
||||||
if(blacklist[msg.author.id])
|
if(blacklist[msg.author.id])
|
||||||
return msg.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}`);
|
||||||
message.say('Your feedback has been sent!');
|
message.say('Your feedback has been sent!');
|
||||||
|
|
Loading…
Reference in a new issue