1
0
Fork 0

Show user id

Commando
loicbersier 6 years ago
parent 41b5c7ea42
commit 7235d32274

@ -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…
Cancel
Save