mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: credits command
This commit is contained in:
1 parent
15bf02f829
commit
d7c7814b3a
2 files changed
+17
No files matched your search
@@ -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');
|
||||
},
|
||||
};
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
import discord from '../../../discord.json' assert { type: 'json' };
|
||||
import { aboutCommand } from '../../commands/about';
|
||||
import { breakdownCommand } from '../../commands/breakdown';
|
||||
import { creditsCommand } from '../../commands/credits';
|
||||
import { debugCommand } from '../../commands/debug';
|
||||
import { eligibleCommand } from '../../commands/eligible';
|
||||
import { evolutionCommand } from '../../commands/evolution';
|
||||
@@ -103,6 +104,7 @@ export const COMMANDS_RAW: CommandRegistry[] = [
|
||||
statsCommand,
|
||||
ratingsCommand,
|
||||
todayCommand,
|
||||
creditsCommand,
|
||||
];
|
||||
|
||||
export const commands = Promise.all(COMMANDS_RAW).then((rawCommands) =>
|
||||
|
||||
Reference in new issue
Block a user