> For the complete documentation index, see [llms.txt](https://av0.gitbook.io/av/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://av0.gitbook.io/av/bots/keyauth-bot.md).

# KeyAuth Bot

### **Overview**

The KeyAuth Discord Bot allows users to manage their KeyAuth applications, licenses, users, and other settings directly from Discord. This guide outlines all available commands and how to utilize them effectively.

***

### 1. General Commands

**`/help`**\
\&#xNAN;*Displays all available commands and their descriptions.*

**`/ping`**\
\&#xNAN;*Check the bot's latency.*

***

### 2. Application Management Commands

**`/add_app_hash`**\
\&#xNAN;*Add a hash to your application.*

**`/edit_app_settings`**\
\&#xNAN;*Edit the settings for your application.*

**`/get_app_settings`**\
\&#xNAN;*Retrieve current application settings.*

**`/pause_app`**\
\&#xNAN;*Pause an application temporarily.*

**`/resethash_app`**\
\&#xNAN;*Reset the application hash.*

**`/unpause_app`**\
\&#xNAN;*Unpause a previously paused application.*

***

### 3. License Management Commands

**`/create_license`**\
\&#xNAN;*Generate a new license.*

**`/delete_license`**\
\&#xNAN;*Remove an existing license.*

**`/delete_all_licenses`**\
\&#xNAN;*Delete all licenses at once.*

**`/retrieve_all_licenses`**\
\&#xNAN;*View all licenses associated with your application.*

**`/verify_license`**\
\&#xNAN;*Check the validity of a specific license.*

***

### 4. User Management Commands

**`/create_user`**\
\&#xNAN;*Register a new user.*

**`/delete_user`**\
\&#xNAN;*Remove a user from the system.*

**`/get_user_data`**\
\&#xNAN;*Retrieve detailed information about a user.*

**`/ban_user`**\
\&#xNAN;*Ban a user from accessing the application.*

**`/unban_user`**\
\&#xNAN;*Lift a ban on a user.*

**`/change_password`**\
\&#xNAN;*Update a user's password.*

**`/change_user_email`**\
\&#xNAN;*Change the email address associated with a user.*

**`/reset_user_hwid`**\
\&#xNAN;*Reset a user's HWID.*

**`/pause_user`**\
\&#xNAN;*Temporarily pause a user's account.*

**`/unpause_user`**\
\&#xNAN;*Reactivate a paused user account.*

**`/get_users_by_subscription`**\
\&#xNAN;*Fetch users based on their subscription type.*

**`/delete_expired_users`**\
\&#xNAN;*Delete all users whose accounts have expired.*

***

### 5. Blacklist Management Commands

**`/blacklist`**\
\&#xNAN;*Add an IP or HWID to the blacklist.*

**`/delete_blacklist`**\
\&#xNAN;*Remove an item from the blacklist.*

**`/delete_all_blacklists`**\
\&#xNAN;*Clear all blacklisted items.*

**`/get_all_blacklists`**\
\&#xNAN;*List all blacklisted IPs and HWIDs.*

***

### 6. File Management Commands

**`/upload_file`**\
\&#xNAN;*Upload a file to your KeyAuth application.*

**`/delete_file`**\
\&#xNAN;*Delete a specific file from your application.*

**`/delete_all_files`**\
\&#xNAN;*Remove all files associated with your application.*

**`/get_all_files`**\
\&#xNAN;*View all files uploaded to your application.*

***

### 7. Subscription Management Commands

**`/create_subscription`**\
\&#xNAN;*Set up a new subscription.*

**`/delete_subscription`**\
\&#xNAN;*Delete an existing subscription.*

**`/edit_subscription`**\
\&#xNAN;*Modify details of a subscription.*

**`/get_subscriptions`**\
\&#xNAN;*View all subscriptions.*

**`/pause_subscription`**\
\&#xNAN;*Pause a subscription temporarily.*

**`/unpause_subscription`**\
\&#xNAN;*Resume a paused subscription.*

***

### 8. Session Management Commands

**`/end_session`**\
\&#xNAN;*Terminate a single active session.*

**`/end_all_sessions`**\
\&#xNAN;*End all active sessions for an application.*

**`/get_all_sessions`**\
\&#xNAN;*Retrieve a list of all active sessions.*

***

### 9. Reseller Management Commands

**`/create_reseller_manager`**\
\&#xNAN;*Create a new reseller or manager account.*

**`/delete_reseller_manager`**\
\&#xNAN;*Remove a reseller account.*

**`/add_balance`**\
\&#xNAN;*Add balance to a reseller account.*

**`/get_reseller_balance`**\
\&#xNAN;*View the balance of a reseller.*

***

### 10. Miscellaneous Commands

**`/get_app_details`**\
\&#xNAN;*Retrieve detailed information about your application.*

**`/commands`**\
\&#xNAN;*List all available commands provided by the bot.*

***

### Benefits of Using KeyAuth Bot

* **Efficiency:** Manage your KeyAuth applications and licenses effortlessly.
* **Real-Time Updates:** Perform actions and view results immediately.
* **User-Friendly Interface:** Intuitive and organized commands for both administrators and users.
* **Full Control:** Easily handle users, licenses, sessions, and more within your Discord server.

***

### Conclusion

The KeyAuth Discord Bot is an essential tool for any KeyAuth user looking to manage their application efficiently from within Discord. With its extensive range of commands and user-friendly design, managing your licenses, users, and subscriptions has never been easier. For further support, please reach out on our [**Discord**](https://discord.gg/anewvision).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://av0.gitbook.io/av/bots/keyauth-bot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
