Refactor help plugin, and included metadata to all plugins
This commit is contained in:
@@ -168,3 +168,17 @@ async def handle_command(room, message, bot, prefix, config):
|
||||
room.room_id, _build_welcome_message(display_name)
|
||||
)
|
||||
logging.info("Sent manual !welcome to %s", sender)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Plugin Metadata
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Funguy Bot"
|
||||
__description__ = "Room welcome message"
|
||||
__help__ = """
|
||||
<details>
|
||||
<summary><strong>!welcome</strong> – Receive welcome message</summary>
|
||||
<p>Manually triggers the room's welcome message for yourself.</p>
|
||||
</details>
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user