Refactor help plugin, and included metadata to all plugins
This commit is contained in:
@@ -59,3 +59,17 @@ def get_ordinal_suffix(day_of_month):
|
||||
return "nd"
|
||||
else:
|
||||
return "th"
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Plugin Metadata
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Funguy Bot"
|
||||
__description__ = "Show current date and time"
|
||||
__help__ = """
|
||||
<details>
|
||||
<summary><strong>!date</strong> – Current date and time</summary>
|
||||
<p>Displays the day of the week, ordinal date, and AM/PM time.</p>
|
||||
</details>
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user