forked from Supositware/Haha-Yes
Show user id
This commit is contained in:
parent
41b5c7ea42
commit
7235d32274
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
const { Command } = require('discord.js-commando');
|
||||
const { feedbackChannel } = require('../../config.json');
|
||||
const fs = require('fs');
|
||||
module.exports = class feedbackCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
|
@ -19,7 +20,7 @@ module.exports = class feedbackCommand extends Command {
|
|||
|
||||
async run(message, { text }) {
|
||||
const channel = this.client.channels.get(feedbackChannel);
|
||||
channel.send(`from ${message.author}: ${text}`);
|
||||
channel.send(`from ${message.author} (${message.author.id}): ${text}`);
|
||||
message.say('Your feedback has been sent!');
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue