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
+12 -1
View File
@@ -231,4 +231,15 @@ async def handle_command(room, message, bot, prefix, config):
__version__ = "1.0.0"
__author__ = "Funguy Bot"
__description__ = "News aggregator using GNews API"
__description__ = "News headlines via GNews API"
__help__ = """
<details>
<summary><strong>!news</strong> Latest news headlines</summary>
<ul>
<li><code>!news [top|world|tech|business|science|health|sports|crypto]</code></li>
<li><code>!news search &lt;query&gt;</code></li>
<li>You can append a number: <code>!news tech 8</code></li>
</ul>
<p>Requires <strong>GNEWS_API_KEY</strong> env var.</p>
</details>
"""