From 6ad819f9a721dc8c000e014d66b0339412bea138 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 12 Oct 2018 15:28:09 +0200 Subject: [PATCH] show author username --- commands/utility/feedback.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/utility/feedback.js b/commands/utility/feedback.js index ce0b957..f0b0d64 100644 --- a/commands/utility/feedback.js +++ b/commands/utility/feedback.js @@ -9,7 +9,7 @@ module.exports = class feedbackCommand extends Command { memberName: 'feedback', description: `Send feedback`, throttling: { - usages: 1, + usages: 2, duration: 60, }, args: [ @@ -24,7 +24,7 @@ module.exports = class feedbackCommand extends Command { async run(message, { text }) { const channel = this.client.channels.get(feedbackChannel); - channel.send(`from ${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!'); } }; \ No newline at end of file