Show author id

Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
loicbersier 2020-05-02 00:04:50 +02:00
parent 788dc27c3d
commit 4d1dc6037e

View file

@ -20,8 +20,11 @@ class errorListener extends Listener {
.setTitle('Shit happened!')
.addField('Command', command.id, true)
.addField('Error', message, true)
.addField('Message', error, true);
.addField('Message', error, true)
.addField('Author', `${message.author.tag} (${message.author.id})`);
channel.send(errorEmbed);
//Get current date
let today = new Date();
let dd = today.getDate();