show author username
This commit is contained in:
parent
b40bc7cc8f
commit
6ad819f9a7
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ module.exports = class feedbackCommand extends Command {
|
||||||
memberName: 'feedback',
|
memberName: 'feedback',
|
||||||
description: `Send feedback`,
|
description: `Send feedback`,
|
||||||
throttling: {
|
throttling: {
|
||||||
usages: 1,
|
usages: 2,
|
||||||
duration: 60,
|
duration: 60,
|
||||||
},
|
},
|
||||||
args: [
|
args: [
|
||||||
|
@ -24,7 +24,7 @@ module.exports = class feedbackCommand extends Command {
|
||||||
|
|
||||||
async run(message, { text }) {
|
async run(message, { text }) {
|
||||||
const channel = this.client.channels.get(feedbackChannel);
|
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!');
|
message.say('Your feedback has been sent!');
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in a new issue