mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
fix(types): Fix discordeno/lobby.ts (#4361)
Co-authored-by: Link <link20050703@gmail.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/** Types for: https://discord.com/developers/docs/resources/lobby */
|
||||
|
||||
import type { DiscordLobbyMemberFlags } from '../discord/lobby.js'
|
||||
import type { BigString } from '../shared.js'
|
||||
|
||||
/** https://discord.com/developers/docs/resources/lobby#create-lobby */
|
||||
@@ -18,7 +19,11 @@ export interface CreateLobbyMember {
|
||||
id: BigString
|
||||
/** Optional dictionary of string key/value pairs. The max total length is 1000. */
|
||||
metadata?: Record<string, string> | null
|
||||
/** Lobby member flags combined as a bitfield */
|
||||
/**
|
||||
* Lobby member flags combined as a bitfield
|
||||
*
|
||||
* @see {@link DiscordLobbyMemberFlags}
|
||||
*/
|
||||
flags?: number
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user