SHARDWIRE
ReferenceBridge APIs

createBotBridge

Create the bot-process bridge: Discord gateway/runtime plus a WebSocket server for app connections.

function exported from src/bot/index.ts.

Summary

Create the bot-process bridge: Discord gateway/runtime plus a WebSocket server for app connections.

Signature

/**
 * Create the bot-process bridge: Discord gateway/runtime plus a WebSocket server for app connections.
 *
 * @see https://shardwire.js.org/docs/reference/bridge-apis/create-bot-bridge/
 */
export function createBotBridge(options: BotBridgeOptions): BotBridge;

On this page