diff --git a/docs/guide/creators.md b/docs/guide/creators.md new file mode 100644 index 000000000..663fb39ab --- /dev/null +++ b/docs/guide/creators.md @@ -0,0 +1,6 @@ +# Creators + +- TrèsAbhi `@tresabhi` + - Creator & main programmer; _I do it all!_ +- Prince_NA `@prince_na` + - Advisor & tester diff --git a/src/commands/about.ts b/src/commands/about.ts index 63fbc6aa0..94b60fbf0 100644 --- a/src/commands/about.ts +++ b/src/commands/about.ts @@ -11,6 +11,7 @@ const DOCS = { introduction: 'guide/introduction', invite: 'guide/invite', timezones: 'guide/timezones', + creators: 'guide/creators', }; const DOC_DESCRIPTIONS: Record = { permissions: 'The permissions needed for the bot to function', @@ -18,6 +19,7 @@ const DOC_DESCRIPTIONS: Record = { introduction: 'About the bot', invite: 'How to invite the bot', timezones: 'How Blitzkrieg infers and uses your timezone', + creators: 'Who created the bot', }; function addDocsSubcommands(option: SlashCommandSubcommandsOnlyBuilder) { diff --git a/src/commands/credits.ts b/src/commands/credits.ts deleted file mode 100644 index 9cbe952d1..000000000 --- a/src/commands/credits.ts +++ /dev/null @@ -1,15 +0,0 @@ -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'); - }, -}; diff --git a/src/events/interactionCreate/index.ts b/src/events/interactionCreate/index.ts index 6dedea8b9..0b7aeadcb 100644 --- a/src/events/interactionCreate/index.ts +++ b/src/events/interactionCreate/index.ts @@ -16,7 +16,6 @@ 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'; @@ -102,7 +101,6 @@ export const COMMANDS_RAW: CommandRegistry[] = [ evolutionCommand, statsCommand, ratingsCommand, - creditsCommand, ]; export const commands = Promise.all(COMMANDS_RAW).then((rawCommands) =>