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