diff --git a/@types/Client.d.ts b/@types/Client.d.ts index 2a1f02f..8cec7cf 100644 --- a/@types/Client.d.ts +++ b/@types/Client.d.ts @@ -1,4 +1,5 @@ import { LoggerClientOptions } from '@navy.gif/logger'; +import { GatewayIntentBits, Partials } from 'discord.js'; export type ClientOptions = { // Set by the startup script @@ -8,6 +9,11 @@ export type ClientOptions = { // User configured logger: LoggerClientOptions, developmentMode: boolean, + libraryOptions: { + partials?: Partials, + intents: GatewayIntentBits[], + invalidRequestWarningInterval?: number + } } export type ComponentType = 'EDIT ME'; @@ -16,4 +22,21 @@ export type ComponentOptions = { type: ComponentType, name: string, disabled?: boolean -}; \ No newline at end of file +}; + +export type ExtendedCommandOptionDefinition = { + restricted?: boolean +} & CommandOptionDefinition + +export type CommandDefinition = { + aliases?: string[], + options?: (ExtendedCommandOptionDefinition | ExtendedCommandOption)[], + restricted?: boolean, + dmOnly?: boolean, + guildOnly?: boolean, + help?: string, + limited?: Snowflake[], + showUsage?: boolean, + sameVc?: boolean, + description?: string, +} & Omit \ No newline at end of file