pinger_bot.ext.events#
Module for handling events.
Module Contents#
Classes#
Class for handling events. |
Functions#
Attributes#
|
- plugin[source]#
lightbulb.Pluginobject.
- class Events[source]#
Class for handling events.
- async static pre_execution(event: lightbulb.events.SlashCommandInvocationEvent) None[source]#
Pre-execution hook. Just logs the call of command.
- Parameters:
event – Event that triggered listener.
- async static on_started(__: hikari.events.lifetime_events.StartedEvent) None[source]#
On-started hook. Just logs that the bot started and run scheduler.
- async static on_stopping(__: hikari.events.lifetime_events.StoppingEvent) None[source]#
On-started hook. Just logs that the bot stopping and stop scheduler.
- load(bot_obj: pinger_bot.bot.PingerBot) None[source]#
Load the
plugin.