Exemple #1
0
def load(bot: lightbulb.BotApp) -> None:
    bot.add_plugin(plugin)
Exemple #2
0
def unload(bot: lightbulb.BotApp) -> None:
    bot.remove_plugin(plugin)
Exemple #3
0
def unload(bot: lightbulb.BotApp):
    bot.unsubscribe(lightbulb.CommandErrorEvent, on_command_error)