From e956ac6d2f4b051b2f74f440ce0e1288306bc829 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 11 Jul 2020 01:25:19 +0200 Subject: [PATCH] Last used command --- event/listeners/commandstarted.js | 1 + 1 file changed, 1 insertion(+) diff --git a/event/listeners/commandstarted.js b/event/listeners/commandstarted.js index 789557f8..90249c2d 100644 --- a/event/listeners/commandstarted.js +++ b/event/listeners/commandstarted.js @@ -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}`);