# Modmail

**📩 ModMail System – Seamless Communication with Moderators!**

Astra's **ModMail system** allows users to send private messages to server moderators while keeping conversations **organized, persistent, and efficient.** Moderators can **respond directly via DM,** ensuring smooth and confidential communication.

### **✉️ Setting Up ModMail**

🔹 **`/setmodchannel <#channel>`** – Set the **designated ModMail channel** where messages will be sent. *(Admins only)*

### **📨 Sending a ModMail Message**

🔹 **`/send <message>`** – Send a **private message to moderators**. Only mods will see it.\
🔹 **`a.send <message>`** – Use the prefix command to send a ModMail request.

### **📬 Moderators Can Respond via DM**

🔹 **`/respond <user_id> <message>`** – Respond to a ModMail ticket **directly in the user’s DMs**. *(Mods only)*\
🔹 **`a.respond <user_id> <message>`** – Use the prefix command to respond.

### **🛠️ Key Features**

✅ **Persistent ModMail System** – Messages are stored and tracked for easy reference.\
✅ **Automatic Routing** – ModMail messages **go directly to the set mod channel.**\
✅ **Anonymous for Members** – Users can contact mods without **revealing their identity publicly.**\
✅ **DM-Based Moderator Responses** – Replies go **straight to the user’s DMs** for privacy.\
✅ **Permission-Based Access** – Only **admins can configure ModMail,** and only **moderators can respond.**\
✅ **Error Handling & Safety** – If ModMail is **not set up,** users are notified. If a **user has DMs disabled,** mods are alerted.

**Enhance your server’s moderation with Astra’s ModMail system! 🚀**
