feat: added command suffix to commands

This commit is contained in:
TresAbhi committed 2023-07-05 01:15:18 +00:00
1 parent d2d575bd72
commit 423a8b8088
17 files changed
+66 -67

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import { SlashCommandBuilder } from 'discord.js';
import { CommandRegistry } from '../events/interactionCreate/index.js';
export default {
export const pingCommand: CommandRegistry<true> = {
inProduction: true,
inDevelopment: false,
inPublic: true,
@@ -30,4 +30,4 @@ export default {
const executionTime = Date.now() - executionStart;
interaction.editReply(`Pong 🏓 - ${executionTime}ms`);
},
} satisfies CommandRegistry<true>;
};