fix(status): increase timeout for fetch request to 10 seconds

feat(types): add missing import for ButtonInteraction in type definitions
This commit is contained in:
2025-10-29 22:12:01 +01:00
parent e9565a9552
commit 0449654edd
3 changed files with 6 additions and 2 deletions

2
src/type.d.ts vendored
View File

@@ -1,2 +1,4 @@
import { ButtonInteraction, ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js";
export type Host = { host: string, name: string, alive: boolean, type: 'ping' | 'website' };
export type CommandDefinition = { data: SlashCommandBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[]};