From 8a78ac7d8203d28892854304d86d868deac352dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:20:09 -0600 Subject: [PATCH] feat: removed /today command --- src/commands/today.tsx | 18 ------------------ src/events/interactionCreate/index.ts | 2 -- 2 files changed, 20 deletions(-) delete mode 100644 src/commands/today.tsx diff --git a/src/commands/today.tsx b/src/commands/today.tsx deleted file mode 100644 index 3b3e5e348..000000000 --- a/src/commands/today.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { SlashCommandBuilder } from 'discord.js'; -import { CommandRegistry } from '../events/interactionCreate'; - -/** - * TODO: @deprecated - */ -export const todayCommand: CommandRegistry = { - inProduction: true, - inPublic: true, - - command: new SlashCommandBuilder() - .setName('today') - .setDescription('This command has been renamed to `/breakdown today`'), - - handler() { - return '# This command has been renamed to `/breakdown today`\n`/today` now comes with filters, periods and more! Use `/breakdown today` for same old functionality but also do checkout the other options.'; - }, -}; diff --git a/src/events/interactionCreate/index.ts b/src/events/interactionCreate/index.ts index e181dfdec..6dedea8b9 100644 --- a/src/events/interactionCreate/index.ts +++ b/src/events/interactionCreate/index.ts @@ -32,7 +32,6 @@ import { searchClansCommand } from '../../commands/searchClans'; import { searchPlayersCommand } from '../../commands/searchPlayers'; import { searchTanksCommand } from '../../commands/searchTanks'; import { statsCommand } from '../../commands/stats'; -import { todayCommand } from '../../commands/today'; import getClientId from '../../core/blitzkrieg/getClientId'; import isDev from '../../core/blitzkrieg/isDev'; import { secrets } from '../../core/blitzkrieg/secrets'; @@ -103,7 +102,6 @@ export const COMMANDS_RAW: CommandRegistry[] = [ evolutionCommand, statsCommand, ratingsCommand, - todayCommand, creditsCommand, ];