ReferenceBridge APIs
BotBridge
Reference for `BotBridge`, exported as part of the public Shardwire surface.
interface exported from src/discord/types.ts.
Summary
Reference for BotBridge, exported as part of the public Shardwire surface.
Signature
export interface BotBridge {
ready(): Promise<void>;
close(): Promise<void>;
status(): { ready: boolean; connectionCount: number };
mode(): 'split' | 'hybrid' | 'single-process';
client(): unknown | null;
app(): AppBridge | null;
}