feat: credits command

This commit is contained in:
TrèsAbhi committed 2023-11-13 22:19:49 -06:00
1 parent 15bf02f829
commit d7c7814b3a
2 files changed
+17

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { AttachmentBuilder, SlashCommandBuilder } from 'discord.js';
import { CommandRegistry } from '../events/interactionCreate';
export const creditsCommand: CommandRegistry = {
inProduction: true,
inPublic: true,
command: new SlashCommandBuilder()
.setName('credits')
.setDescription('Me and the people who made this bot!'),
async handler() {
return new AttachmentBuilder('https://i.imgur.com/ZF5ch33.png');
},
};