Plugins | Darkbot
Darkbot Plugins: Extending the Capabilities of a Classic IRC Bot
How to Install and Manage Darkbot Plugins
# Automatic Plugin Loader for filename in os.listdir('./plugins'): if filename.endswith('.py'): bot.load_extension(f'plugins.filename[:-3]') print(f"Loaded plugin: filename")
- Architectures and Integration Patterns
on_public– when someone speaks in a channelon_private– when messaged directlyon_join/on_part– user enter/exit events- Timers, raw IRC commands, and custom command triggers