Refactor help plugin, and included metadata to all plugins
This commit is contained in:
@@ -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 <id></code> – Story details</li>
|
||||
<li><code>!hn comments <id></code> – Show comments</li>
|
||||
<li><code>!hn search <query></code> – Search via Algolia</li>
|
||||
</ul>
|
||||
<p>Free, no API key needed.</p>
|
||||
</details>
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user