feat: /today alias for /breakdown today

This commit is contained in:
TrèsAbhi committed 2024-01-19 21:32:46 -06:00
1 parent 0480445bae
commit 23a23e36bb
14 files changed
+252 -153

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ import resolvePlayerFromButton from '../core/discord/resolvePlayerFromButton';
import resolvePlayerFromCommand, {
ResolvedPlayer,
} from '../core/discord/resolvePlayerFromCommand';
import { CommandRegistryRaw } from '../events/interactionCreate';
import { CommandRegistryPromisable } from '../events/interactionCreate';
type EvolutionStatType = 'player' | 'tank';
@@ -107,7 +107,7 @@ async function render(
);
}
export const evolutionCommand = new Promise<CommandRegistryRaw>(
export const evolutionCommand = new Promise<CommandRegistryPromisable>(
async (resolve) => {
let playerGroup: SlashCommandSubcommandGroupBuilder;
let tankGroup: SlashCommandSubcommandGroupBuilder;