feat: refactor command imports, enhance status service with logging and notification features, and update entity definitions

This commit is contained in:
2025-10-31 10:02:44 +01:00
parent 03769b14fa
commit 6b10aaa009
9 changed files with 165 additions and 109 deletions

3
src/type.d.ts vendored
View File

@@ -6,6 +6,7 @@ export type Host = {
name: string,
alive: boolean,
ping_type: 'ping' | 'website',
type: InfraType
type: InfraType,
notify: boolean;
};
export type CommandDefinition = { data: SlashCommandBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[]};