-
Notifications
You must be signed in to change notification settings - Fork 0
Plugins
0x24a edited this page Aug 2, 2024
·
1 revision
Plugins are a feature for quickly adding a variety of commands to the Hvicorn robot.
A plugin is a Python package, and its top level must include a plugin_init function and accept at least one Bot
/AsyncBot
object.
Example:/example_plugin_afk.py
Plugins can be loaded with bot.load_plugin(plugin_name)
. The arguments passed to *args and **kwargs are passed to plugin_init.
© 2024 Hiyoteam. Under MIT License.