This commit is contained in:
Dragon Fire
2021-06-05 13:15:59 -04:00
parent dd05483aee
commit 2a764e3edc
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -380,6 +380,7 @@ client.on('commandRun', async command => {
if (command.unknown) return;
client.logger.info(`[COMMAND] ${command.name} was used.`);
const channel = await client.fetchCommandChannel();
if (!channel) return;
channel.send(`\`${command.name}\` was used! It has now been used **${formatNumber(command.uses)}** times!`)
.catch(() => null);
});