DiscordUserGuild
Defined in: bot/bot.type.ts:54
A server as GET /users/@me/guilds lists it: a summary, not the full guild.
Properties
Section titled “Properties”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.
permissions?
Section titled “permissions?”
optionalpermissions?:string
Defined in: bot/bot.type.ts:62
The caller’s permission bitfield in the server, as a decimal string.