Class Guild
🏭 Constructors
constructor
Guild(client: Client, props: Record<string, any>): GuildParameters
- client:
Client - props:
Record<string, any>
Return Type
Guild
Defined in: packages/discord-rpc/structures/Guild.ts:26
🏷️ Properties
client
client: Clientthe client instance Inherited from: Base.client
Defined in: packages/discord-rpc/structures/Base.ts:7
icon_url
icon_url: null | stringDefined in: packages/discord-rpc/structures/Guild.ts:14
id
id: stringguild id
Defined in: packages/discord-rpc/structures/Guild.ts:9
members
members: User[] = []guild member list (always an empty array)
Defined in: packages/discord-rpc/structures/Guild.ts:20
name
name: stringguild name (2-100 characters, excluding trailing and leading whitespace)
Defined in: packages/discord-rpc/structures/Guild.ts:13
vanity_url_code
vanity_url_code: null | stringthe vanity url code for the guild
Defined in: packages/discord-rpc/structures/Guild.ts:24