ReferenceContracts & Diagnostics
CapabilityExplanation
Result of `app.explainCapability(...)`. *
interface exported from src/discord/types.ts.
Summary
Result of app.explainCapability(...). *
Signature
export interface CapabilityExplanation {
kind: CapabilityExplanationKind;
name: string;
/** Whether this name is a built-in Shardwire event or action. */
known: boolean;
/** Required gateway intents when `kind` is `event` and `known`. */
requiredIntents?: readonly BotIntentName[];
/** After authentication, whether the bridge allows this capability. */
allowedByBridge?: boolean;
reasonCode: CapabilityExplanationReasonCode;
remediation?: string;
}