import { Collection, SlashCommandBuilder, CommandInteraction, Client } from 'discord.js'; export interface Command { data: Pick, execute: (interaction: CommandInteraction) => Promise, autocomplete?: (interaction: AutocompleteInteraction) => Promise, onClientReady?: (client: Client) => Promise, serverWhitelist?: string[], } export interface Config { token: string, sitePort: number, siteURL: string, clientId: string, clientSecret: string, } declare module 'discord.js' { export interface Client { config: Config, commands: Collection; } }