Refactor help plugin, and included metadata to all plugins

This commit is contained in:
2026-05-07 02:27:27 -05:00
parent abb4b5e245
commit dba205685b
38 changed files with 935 additions and 827 deletions
+17
View File
@@ -62,3 +62,20 @@ async def run_cron_jobs(bot):
if plugin_module:
await plugin_module.handle_command(room, None, bot, prefix, config)
# ---------------------------------------------------------------------------
# Plugin Metadata
# ---------------------------------------------------------------------------
__version__ = "1.0.0"
__author__ = "Funguy Bot"
__description__ = "Cron job scheduler"
__help__ = """
<details>
<summary><strong>!cron</strong> Schedule commands via cron syntax</summary>
<ul>
<li><code>!cron add &lt;room_id&gt; &lt;cron_entry&gt; &lt;command&gt;</code> Add job</li>
<li><code>!cron remove &lt;room_id&gt; &lt;command&gt;</code> Remove job</li>
</ul>
<p>Admin only.</p>
</details>
"""