diff --git a/docs/guide/about.md b/docs/guide/introduction.md similarity index 94% rename from docs/guide/about.md rename to docs/guide/introduction.md index 40c3b25c3..80e2f87a3 100644 --- a/docs/guide/about.md +++ b/docs/guide/introduction.md @@ -1,4 +1,4 @@ -# About +# Introduction Blitzkrieg is a multipurpose bot for anything and everything World of Tanks Blitz. diff --git a/src/commands/help.ts b/src/commands/about.ts similarity index 89% rename from src/commands/help.ts rename to src/commands/about.ts index fab71fe7e..d0d28ec5c 100644 --- a/src/commands/help.ts +++ b/src/commands/about.ts @@ -8,14 +8,14 @@ const RAW_PATH = `https://raw.githubusercontent.com/tresabhi/blitzkrieg/main/doc const DOCS = { permissions: 'guide/permissions', embeds: 'guide/embeds', - about: 'guide/about', + introduction: 'guide/introduction', invite: 'guide/invite', timezones: 'guide/timezones', }; const DOC_DESCRIPTIONS: Record = { permissions: 'The permissions needed for the bot to function', embeds: 'How embeds work', - about: 'About the bot', + introduction: 'About the bot', invite: 'How to invite the bot', timezones: 'How Blitzkrieg infers and uses your timezone', }; @@ -28,14 +28,14 @@ function addDocsSubcommands(option: SlashCommandSubcommandsOnlyBuilder) { return option; } -export const helpCommand: CommandRegistry = { +export const aboutCommand: CommandRegistry = { inProduction: true, inPublic: true, command: addDocsSubcommands( new SlashCommandBuilder() - .setName('help') - .setDescription('All the help you need about the bot') + .setName('about') + .setDescription('All the info you need about the bot') .addSubcommand((option) => option .setName('commands') diff --git a/src/events/interactionCreate/index.ts b/src/events/interactionCreate/index.ts index 3e3644998..823eca426 100644 --- a/src/events/interactionCreate/index.ts +++ b/src/events/interactionCreate/index.ts @@ -13,12 +13,12 @@ import { SlashCommandSubcommandsOnlyBuilder, } from 'discord.js'; import discord from '../../../discord.json' assert { type: 'json' }; +import { aboutCommand } from '../../commands/about'; import { clanEventCommand } from '../../commands/clanEvent'; import { debugCommand } from '../../commands/debug'; import { eligibleCommand } from '../../commands/eligible'; import { evolutionCommand } from '../../commands/evolution'; import { fullStatsCommand } from '../../commands/fullStats'; -import { helpCommand } from '../../commands/help'; import { inactiveCommand } from '../../commands/inactive'; import { ownedTanksCommand } from '../../commands/ownedTanks'; import { pingCommand } from '../../commands/ping'; @@ -84,7 +84,7 @@ const rest = new REST().setToken(secrets.DISCORD_TOKEN); export const COMMANDS_RAW: CommandRegistry[] = [ debugCommand, eligibleCommand, - helpCommand, + aboutCommand, inactiveCommand, ownedTanksCommand, playerAchievementsCommand,