feat(live_status): add command to generate and update persistent status messages

This commit is contained in:
2025-10-31 15:09:12 +01:00
parent d3fba3668e
commit b9930cbc8f
6 changed files with 104 additions and 6 deletions

2
src/type.d.ts vendored
View File

@@ -9,4 +9,4 @@ export type Host = {
type: InfraType,
notify: boolean;
};
export type CommandDefinition = { data: SlashCommandBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[]};
export type CommandDefinition = { data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[]};