Type alias RepluggedCommand<T>

RepluggedCommand<T>: InexecutableRepluggedCommand<T> & ({
    execute?: never;
    executor: ((interaction) => Promise<RepluggedCommandResult> | RepluggedCommandResult);
} | {
    execute: ((args, currentInfo) => Promise<void> | void);
    executor?: never;
})

Type Parameters

Generated using TypeDoc