Refactor help plugin, and included metadata to all plugins
This commit is contained in:
@@ -384,3 +384,18 @@ async def handle_command(room, message, bot, prefix, config):
|
||||
f"Error identifying hash: {str(e)}"
|
||||
)
|
||||
logging.error(f"Error in hashid command: {e}", exc_info=True)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Plugin Metadata
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Funguy Bot"
|
||||
__description__ = "Hash type identifier"
|
||||
__help__ = """
|
||||
<details>
|
||||
<summary><strong>!hashid</strong> – Identify hash type</summary>
|
||||
<p><code>!hashid <hash></code> – Recognises 100+ hash formats (MD5, SHA, bcrypt, etc.).<br>
|
||||
Shows confidence level, Hashcat mode, and John the Ripper format.</p>
|
||||
</details>
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user