Skip to main content

Interface: CreateDiscordBotRequest

Defined in: packages/sdk/src/types/discord-bot-types.ts:39

Form data for creating a Discord bot.

Properties

allowDm?

optional allowDm: boolean

Defined in: packages/sdk/src/types/discord-bot-types.ts:52


allowedChannelIds?

optional allowedChannelIds: string[]

Defined in: packages/sdk/src/types/discord-bot-types.ts:60


allowedGuildIds?

optional allowedGuildIds: string[]

Defined in: packages/sdk/src/types/discord-bot-types.ts:59


applicationId

applicationId: string

Defined in: packages/sdk/src/types/discord-bot-types.ts:41


botToken

botToken: string

Defined in: packages/sdk/src/types/discord-bot-types.ts:42


clientSecret?

optional clientSecret: string

Defined in: packages/sdk/src/types/discord-bot-types.ts:44


defaultWorkflowId?

optional defaultWorkflowId: number | null

Defined in: packages/sdk/src/types/discord-bot-types.ts:56

Default workflow ID for

Mention

responses (null = manager mode)


enableGateway?

optional enableGateway: boolean

Defined in: packages/sdk/src/types/discord-bot-types.ts:54

Enable Discord Gateway for

Mention

responses (requires MESSAGE_CONTENT intent)


memberId?

optional memberId: number | null

Defined in: packages/sdk/src/types/discord-bot-types.ts:58

Agent member ID who handles all bot interactions (mutually exclusive with defaultWorkflowId)


name

name: string

Defined in: packages/sdk/src/types/discord-bot-types.ts:40


publicKey

publicKey: string

Defined in: packages/sdk/src/types/discord-bot-types.ts:43


replyInThread?

optional replyInThread: boolean

Defined in: packages/sdk/src/types/discord-bot-types.ts:47


respondMode?

optional respondMode: DiscordRespondMode

Defined in: packages/sdk/src/types/discord-bot-types.ts:49

How bot responds: 'mentions' (only @mentions), 'auto' (AI decides), 'off' (slash commands only)


respondWhen?

optional respondWhen: string

Defined in: packages/sdk/src/types/discord-bot-types.ts:51

Custom prompt for AI to decide when to respond (only used when respondMode is 'auto')


slashCommands?

optional slashCommands: SlashCommandConfigResponse[]

Defined in: packages/sdk/src/types/discord-bot-types.ts:46

Custom slash commands - each command triggers a workflow