curious.commands.plugin¶
Classes for plugin objects.
Classes
Plugin(client) |
Represents a plugin (a collection of events and commands under one class). |
PluginMeta |
-
class
curious.commands.plugin.Plugin(client: curious.core.client.Client)[source]¶ Bases:
objectRepresents a plugin (a collection of events and commands under one class).
-
client= None¶ The client for this plugin.
-
task_group= None¶ The task group for this plugin.
-
await
load()[source]¶ Called when this plugin is loaded.
By default, this does nothing. It is meant to be overridden to customize behaviour.
Return type: None
-