Skip to main content

CreateLobby

@discordeno/bot


Documentation / @discordeno/bot / CreateLobby

Interface: CreateLobby

Defined in: packages/types/dist/types/discordeno.d.ts:1608

https://discord.com/developers/docs/resources/lobby#create-lobby

Properties

idleTimeoutSeconds?

optional idleTimeoutSeconds: number

Defined in: packages/types/dist/types/discordeno.d.ts:1614

Seconds to wait before shutting down a lobby after it becomes idle. Value can be between 5 and 604800 (7 days).


members?

optional members: CreateLobbyMember[]

Defined in: packages/types/dist/types/discordeno.d.ts:1612

Optional array of up to 25 users to be added to the lobby


metadata?

optional metadata: null | Record<string, string>

Defined in: packages/types/dist/types/discordeno.d.ts:1610

Optional dictionary of string key/value pairs. The max total length is 1000.