Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discord_rpc_deno/src/structures/Guild.ts>Guild

port of @xhayper/discord-rpc to deno
Go to Latest
class Guild
extends Base
import { Guild } from "https://deno.land/x/discord_rpc_deno@1.0.8/src/structures/Guild.ts";

Constructors

new
Guild(client: Client, props: Record<string, any>)

Properties

icon_url: string | null
id: string

guild id

deprecated
members: User[]

guild member list (always an empty array)

name: string

guild name (2-100 characters, excluding trailing and leading whitespace)

vanity_url_code: string | null

the vanity url code for the guild