Event Reference

Events are received in listeners using event_listener().

Event names are case-insensitive and uses underscores (_) for spaces.

APPLICATION_COMMAND_PERMISSIONS_UPDATE

Received when an application command’s permissions are updated. The inner payload is an GuildApplicationCommandPermissions object.

READY

Dispatched when the client has completed the initial handshake with the gateway (for new sessions).

class discord.events.ReadyEvent[source]
application: Application

Contains id and flags

guilds: list[UnavailableGuild]

Guilds the user is in

resume_gateway_url: str

Gateway URL for resuming connections

session_id: str

Used for resuming connections

shard: Optional[list[int, int]]

Shard information associated with this session, if sent when identifying

user: User

Information about the user including email

v: int

API version