Type Alias RepluggedCommand<T>

RepluggedCommand<T>: InexecutableRepluggedCommand<T> & ({
    execute?: never;
    executor: ((interaction: CommandInteraction<GetCommandOptions<T>>) => Promise<RepluggedCommandResult> | RepluggedCommandResult);
} | {
    execute: ((args: GetCommandOptions<T>[], currentInfo: {
        channel: Channel;
        guild: Guild;
    }) => Promise<void> | void);
    executor?: never;
})

Type Parameters