mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: remove legacy bot code
This commit is contained in:
1 parent
9ffd20ffbf
commit
3f83fffade
28 files changed
+5
-589
No files matched your search
@@ -21,9 +21,6 @@ const DOCS: Record<Subcommand, string> = {
|
||||
|
||||
export const aboutCommand = new Promise<CommandRegistry>(async (resolve) => {
|
||||
resolve({
|
||||
inProduction: true,
|
||||
inPublic: true,
|
||||
|
||||
command: createLocalizedCommand('about', [
|
||||
{ subcommand: 'commands' },
|
||||
...subcommands.map((subcommand) => ({ subcommand })),
|
||||
@@ -37,7 +34,6 @@ export const aboutCommand = new Promise<CommandRegistry>(async (resolve) => {
|
||||
return t`bot.commands.about.subcommands.commands.body${(
|
||||
await Promise.all(COMMANDS_RAW)
|
||||
)
|
||||
.filter((registry) => registry.inPublic && registry.inProduction)
|
||||
.sort((a, b) =>
|
||||
(a.command.name_localizations?.[interaction.locale] ??
|
||||
a.command.name) <
|
||||
|
||||
Reference in new issue
Block a user