APIPartialGuild

https://discord.com/developers/docs/resources/guild#guild-object-guild-structure

Signature

export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'>, Pick<APIGuild, 'welcome_screen'>

Properties

name: string;

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

icon: string | null;

Icon hash See https://discord.com/developers/docs/reference#image-formatting

splash: string | null;

Splash hash See https://discord.com/developers/docs/reference#image-formatting

banner?: string | null;

Banner hash See https://discord.com/developers/docs/reference#image-formatting

description?: string | null;

The description for the guild

features?: GuildFeature[];

Enabled guild features See https://discord.com/developers/docs/resources/guild#guild-object-guild-features

vanity_url_code?: string | null;

The vanity url code for the guild