#Recognising "hidden" in CommandOptions
1 messages · Page 1 of 1 (latest)
Option A: (
) https://github.com/skyra-project/skyra/blob/main/src/lib/structures/commands/SkyraCommand.ts#L87-L93
Option B:
declare module '@sapphire/framework' {
export interface CommandOptions {
hidden?: boolean;
}
}
then access it through command.options.hidden
but if you want command.hidden then reference option A