lib_events#

class wyvern.events.lib_events.StartedEvent(*, bot: GatewayBot, user: BotUser)[source]#

Bases: Event

The StartedEvent is dispatched when the GatewayBot.start method is called and the bot recieves first Websocket response from API after token verification.

Note

This event gets triggered only once in the runtime.

bot: GatewayBot#

The bot bound to the event.

user: BotUser#

The bot user that the client is logged in as.

class wyvern.events.lib_events.StartingEvent(*, bot: GatewayBot)[source]#

Bases: Event

This event is dispatched when the bot is about to connect to the gateway.

Note

This event gets triggered only once in the runtime.

bot: GatewayBot#

The bot bound to the event.