discord-ext-oauth

Guild Objects

class discord.ext.oauth.guild.Guild(*, data: dict, user: User)

A class representing a PartialGuild object sent by the OAuth2 API. This is not meant to be manually created.

user

The user attached to this guild

Type

User

name

The name of the guild

Type

str

id

The id of the guild

Type

int

icon_url

The asset url for the icon of the guild

Type

str

is_user_owner

Whether or not the user attached to this guild is the owner of the guild

Type

bool

features

A list of enabled guild features

Type

List[str]