mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: custom periods for /stats and /tankstats
This commit is contained in:
1 parent
78424c1535
commit
e0c1db2a0b
14 files changed
+125
-49
No files matched your search
@@ -12,6 +12,7 @@ import {
|
||||
RESTPostAPIChatInputApplicationCommandsJSONBody,
|
||||
Routes,
|
||||
SlashCommandBuilder,
|
||||
SlashCommandSubcommandsOnlyBuilder,
|
||||
} from 'discord.js';
|
||||
import discord from '../../discord.json' assert { type: 'json' };
|
||||
import debug from '../commands/debug.js';
|
||||
@@ -46,7 +47,7 @@ export type CommandRegistry = {
|
||||
inProduction: boolean;
|
||||
inPublic: boolean;
|
||||
|
||||
command: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'>;
|
||||
command: SlashCommandBuilder | SlashCommandSubcommandsOnlyBuilder;
|
||||
autocomplete?: (interaction: AutocompleteInteraction<CacheType>) => void;
|
||||
} & (
|
||||
| {
|
||||
|
||||
Reference in new issue
Block a user