forked from Supositware/Haha-Yes
Last used command
This commit is contained in:
parent
2a69e45284
commit
e956ac6d2f
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ class commandStartedListener extends Listener {
|
|||
.setTitle('Daily usage report!')
|
||||
.addField('Number of unique guild', uniqueGuild.length)
|
||||
.addField('Number of command executed', executedCommands, true)
|
||||
.addField('Last used command', command.id, true)
|
||||
.addField('Most used command', `${getKeyByValue(commands, max)} (${max} times)`, true )
|
||||
.addField('Least used command', `${getKeyByValue(commands, min)} (${min} times)`, true)
|
||||
.setFooter(`Bot usage as of ${today}`);
|
||||
|
|
Loading…
Reference in a new issue