Skip to content

DiscordUserGuild

Defined in: bot/bot.type.ts:54

A server as GET /users/@me/guilds lists it: a summary, not the full guild.

id: string

Defined in: bot/bot.type.ts:56

The server id.


name: string

Defined in: bot/bot.type.ts:58

The server name.


owner: boolean

Defined in: bot/bot.type.ts:60

Whether the caller (here, the bot) owns the server.


optional permissions?: string

Defined in: bot/bot.type.ts:62

The caller’s permission bitfield in the server, as a decimal string.