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
+13
View File
@@ -388,3 +388,16 @@ def setup(bot):
__version__ = "1.0.0"
__author__ = "Funguy Bot"
__description__ = "Hacker News integration"
__help__ = """
<details>
<summary><strong>!hn</strong> Hacker News stories</summary>
<ul>
<li><code>!hn</code> Top 5 stories</li>
<li><code>!hn top|new|best|ask|show|job</code> Story type</li>
<li><code>!hn story &lt;id&gt;</code> Story details</li>
<li><code>!hn comments &lt;id&gt;</code> Show comments</li>
<li><code>!hn search &lt;query&gt;</code> Search via Algolia</li>
</ul>
<p>Free, no API key needed.</p>
</details>
"""