# Info

**🌍 Server, User & Guild Insights – Powerful Analytics & Management at Your Fingertips!**

Astra provides a complete suite of tools for **analysing server statistics, tracking user activity, managing guilds, and even retrieving data from other servers!** Whether you're a server admin, a curious member, or the bot owner, Astra has the perfect commands for **monitoring, searching, and managing servers effectively.**

### **📊 Server & User Analytics**

Gain deep insights into your server, its members, and even **other servers Astra interacts with.** With real-time tracking and data visualisation, stay informed about server activity and user engagement.

🔹 **Server Statistics:**

* `/serverstats [server_id | invite_url]` – View **detailed stats** about the current server or retrieve data from **another server using an ID or invite link.**
* `/guildcount [limit]` – See **how many servers Astra is in.** The bot owner gets a **detailed list of guilds with names & invites.**
* `/premiumservers` – View a **list of premium servers** that support Astra’s development.

🔹 **User & Member Insights:**

* `/userinfo [user]` – Get **detailed information** about yourself or another user, including **roles, join date, account age, status, and more.**
* `/userstats [user]` – View **message activity stats** for yourself or another user.

🔹 **Activity & Message Tracking:**

* `/channelstats` – Get **live message stats** for the current channel, including **top contributors.**
* `/activitygraph` – Generate a **visual activity graph** based on user engagement in the server.

### **🛠️ Guild Management & Bot Owner Tools**

Astra also includes **powerful guild management tools,** allowing the bot owner to **search for guilds, track server owners, and manage Astra’s presence efficiently.**

🔹 **Guild Search & Owner Lookup:**

* `/findguild <name>` – Search for a **specific server Astra is in by name.**
* `/guildowner <guild_id>` – Look up the **owner of a specific guild** by ID.

🔹 **Bot Owner-Only Features:**

* **Auto-Leaving Small Servers** – Astra will **automatically leave servers** with fewer than **2 members** after **24 hours** to optimise its presence.
* **Live Guild Tracking** – The bot **maintains a real-time cache** of all guilds and updates it every **60 seconds.**
* **Formatted Guild Counts** – Server numbers are displayed in an **easy-to-read format** (`1.5K`, `2.3M`, `1.2B`).
* **Instant Invite Links** – The bot owner gets access to a **detailed list of servers with instant invites (if available).**

### **📌 Additional Features**

✅ **Retrieve Server Info Without Being a Member** – Use `/serverstats` with an **invite link or server ID** to fetch **server details remotely.**\
✅ **Real-Time Data & Visualisation** – **Graphs & charts** provide clear insights on **message activity and user engagement.**\
✅ **Premium Server Showcase** – `/premiumservers` highlights **exclusive servers that support Astra’s development.**\
✅ **Efficient Server Management** – Astra ensures **optimal performance** by **leaving inactive servers** and refreshing its guild list regularly.

Stay informed, analyse your community, and **manage Astra’s server presence effortlessly! 🚀**
