Releases: Mtp-dev/Respect-Discord-Bot
Releases · Mtp-dev/Respect-Discord-Bot
MyRespect Bot v1.0
MyRespect is a Discord bot that allows users to give and track respect points within a server. Users can acknowledge each other through a /respect
command, view their own respect points with /myrespect
, and check the top users on the /leaderboard
. This bot is designed to support both MySQL and local storage, giving flexibility for data handling.
Features
- Give Respect (
/respect
): Users can give respect to another member once every 24 hours. - View Your Respect Points (
/myrespect
): Shows how many respect points the user has accumulated. - Leaderboard (
/leaderboard
): Displays the top users by respect points. - MySQL and Local Storage Support: Store respect points either in a MySQL database or locally in a JSON file.
- Global Command Syncing: Commands are automatically synced globally across all servers where the bot is present.
Setup Instructions
-
Clone the repository:
git clone https://github.com/your-username/myrespect-bot.git cd myrespect-bot
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the bot:
- Set
USE_MYSQL = True
orFalse
depending on whether you want to use MySQL or local storage. - For MySQL, update the
host
,port
,user
,password
, anddatabase
fields with your MySQL credentials. - Replace
"your_bot_token_here"
with your actual Discord bot token.
- Set
-
Run the bot:
python app.py
Commands
- /respect: Give respect to another user.
- /myrespect: Show your own respect points.
- /leaderboard: Display the top users by respect points.
Usage
- Users can only give respect to others once every 24 hours.
- The leaderboard displays the top 10 users by respect points in the server.
- Respect data can be stored either in MySQL or a local JSON file, depending on your configuration.
What's Next?
This is the first release of the bot, and future updates may include additional features like:
- Customizable leaderboard sizes
- Role-based respect point distribution
- Enhanced error handling for specific use cases