From c94667ee527eac26b2a832ca8629f5858241ff07 Mon Sep 17 00:00:00 2001 From: Unstable Kitsune Date: Thu, 11 Sep 2025 17:18:22 -0400 Subject: [PATCH] feat: Adds ModMail cog with core setup Introduces a private, forum-based ModMail system for relaying user DMs to staff threads, enhancing moderation and support through persistent message storage. Relies on 'rich' requirement for better formatting; includes metadata for easy installation and help integration. --- modmail/README.md | 0 modmail/__init__.py | 0 modmail/info.json | 16 ++++++++++++++++ modmail/modmail.py | 0 4 files changed, 16 insertions(+) create mode 100644 modmail/README.md create mode 100644 modmail/__init__.py create mode 100644 modmail/info.json create mode 100644 modmail/modmail.py diff --git a/modmail/README.md b/modmail/README.md new file mode 100644 index 0000000..e69de29 diff --git a/modmail/__init__.py b/modmail/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/modmail/info.json b/modmail/info.json new file mode 100644 index 0000000..995c543 --- /dev/null +++ b/modmail/info.json @@ -0,0 +1,16 @@ +{ + "author": [ "unstableCogs" ], + "install_msg": "Thank you for installing the ModMail cog! Please use `[p]help ModMail` for setup commands.", + "name": "ModMail", + "short": "A private, forum-based ModMail system.", + "description": "A comprehensive ModMail system that relays user DMs to a private forum channel for staff to review and respond to. This serves as the core for all ticket-based interactions.", + "tags": [ + "modmail", + "moderation", + "support", + "tickets", + "utility" + ], + "requirements": [ "rich" ], + "end_user_data_statement": "This cog persistently stores user IDs and message content from ModMail threads for moderation and support history." +} \ No newline at end of file diff --git a/modmail/modmail.py b/modmail/modmail.py new file mode 100644 index 0000000..e69de29