# Reporting

🚨 **New Report System – User & Server Reports**

We’re excited to introduce a **powerful new reporting system** in Astra, allowing users to **report individuals or entire servers** for violating Astra’s guidelines. Reports are automatically sent to a dedicated webhook, ensuring that all cases are properly logged and reviewed.

━━━━━━━━━━━━━━━━━━

### 🔍 **How the Report System Works:**

The new system provides a **seamless and efficient** way to report violations directly from your server.

✅ **Report Users by Mention or User ID**

* You can report a user by mentioning them or providing their **User ID**, even if they are **not in the same server** as Astra.
* The bot will **fetch detailed information** about the user, including their **ID, username, avatar, account creation date, and bot status**.

✅ **Report Servers for Violations**

* If you don’t specify a user, Astra will **treat the report as a server report** and fetch all available details about the **server and its owner**.
* The report will include:
  * **Server Name & ID**
  * **Server Owner’s ID & Mention**
  * **Total Member Count**
  * **Server Creation Date**
  * **Server Icon** (if available)

✅ **Detailed Reports Sent to Webhook**

* Every report is **automatically logged** to a **designated webhook** where staff or moderators can review it.
* Reports are formatted in **clear and professional embeds** that contain:
  * **The reported user or server details**
  * **The reason for the report**
  * **The user who submitted the report**
  * **A timestamp for when the report was created**

━━━━━━━━━━━━━━━━━━

### 📜 **Commands:**

🛑 **Slash Command:**\
`/report <@user | user_id> <reason>` → Reports a specific user.\
`/report server <reason>` → Reports the current server for violations.

🛑 **Prefix Command:**\
`a.report <@user | user_id> <reason>` → Reports a specific user.\
`a.report server <reason>` → Reports the current server for violations.

━━━━━━━━━━━━━━━━━━

#### 📢 **Why This Update Matters:**

Astra is committed to **ensuring a safe and fair community** across all servers. With this reporting system, we provide **a structured way to report violations** while making it easier for moderators to review and take necessary action.

🔗 **Want to set up Astra’s report logging?** Make sure to configure your **report webhook** in the bot’s settings!

👥 **Join our community for support & discussions:** [**Draft Inc.**](https://discord.gg/rcfbmMWWXb)

💙 Thanks for using Astra! We’re always working on making moderation easier and more effective. 🚀
