Skip to main content

ModifyLobby

Documentation


Documentation / @discordeno/types / ModifyLobby

Interface: ModifyLobby

Defined in: discordeno/lobby.ts:31

https://docs.discord.com/developers/resources/lobby#add-a-member-to-a-lobby

Properties

idleTimeoutSeconds?

optional idleTimeoutSeconds?: number

Defined in: discordeno/lobby.ts:37

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: discordeno/lobby.ts:35

Optional array of up to 25 users to replace the lobby members with. If provided, lobby members not in this list will be removed from the lobby.


metadata?

optional metadata?: Record<string, string> | null

Defined in: discordeno/lobby.ts:33

Optional dictionary of string key/value pairs. The max total length is 1000. Overwrites any existing metadata.