forked from Supositware/Haha-Yes
Show author id
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
788dc27c3d
commit
4d1dc6037e
1 changed files with 4 additions and 1 deletions
|
@ -20,8 +20,11 @@ class errorListener extends Listener {
|
||||||
.setTitle('Shit happened!')
|
.setTitle('Shit happened!')
|
||||||
.addField('Command', command.id, true)
|
.addField('Command', command.id, true)
|
||||||
.addField('Error', message, true)
|
.addField('Error', message, true)
|
||||||
.addField('Message', error, true);
|
.addField('Message', error, true)
|
||||||
|
.addField('Author', `${message.author.tag} (${message.author.id})`);
|
||||||
|
|
||||||
channel.send(errorEmbed);
|
channel.send(errorEmbed);
|
||||||
|
|
||||||
//Get current date
|
//Get current date
|
||||||
let today = new Date();
|
let today = new Date();
|
||||||
let dd = today.getDate();
|
let dd = today.getDate();
|
||||||
|
|
Loading…
Reference in a new issue