A versatile Discord bot with moderation, utility.
Explore the Code »
Report Bug
·
Request Feature
Table of Contents
Riese is a Discord bot designed to enhance your server's functionality. It offers a range of features, including moderation tools, utility commands, and welcome messages for new members. The bot is built using Python and the nextcord library.
- Python 3.8 or higher
nextcordlibrary- A Discord bot token
- Clone the repository:
git clone https://github.com/xxlyitemxx/project-reise.git
- Navigate to the project directory:
cd project-reise - Install the required libraries:
pip install -r requirements.txt
-
Create a
config.jsonfile in the root directory. -
Add your bot token and other configuration:
{ "token": "YOUR_DISCORD_BOT_TOKEN", "prefix": "?", "api_keys_gemini": [ "YOUR_GEMINI_API_KEY_1", "YOUR_GEMINI_API_KEY_2", "YOUR_GEMINI_API_KEY_3" ] }
Riese now supports multiple API keys for the Gemini AI service. This feature helps handle rate limiting by automatically switching to the next available API key when one reaches its quota limit. To use this feature:
- Add multiple API keys in the
api_keys_geminiarray in yourconfig.jsonfile. - The bot will automatically rotate through these keys when it encounters rate limit errors (HTTP 429).
- Use the
?api_keyscommand to view the usage statistics of your API keys.
This feature ensures uninterrupted AI service even when individual API keys reach their quota limits.
Riese Bot offers a comprehensive set of commands to enhance your Discord server:
/ping: Checks the bot's latency with status indicator./say [message]: Makes the bot say something./help: Shows all available commands./avatar [user]: Displays a user's avatar in full size./count member: Shows detailed server member count with status breakdown./invite: Get the bot's invite link./about me: Displays information about Reise bot.?help: Alternative command to show all available commands.
/afk [message]: Set your AFK status with optional custom message.?afk [message]: Alternative command for setting AFK status.?w [member]: Show detailed member information.
/ban [user] [reason]: Ban a user from the server./unban [user_id] [reason]: Unban a previously banned user./kick [user] [reason]: Kick a user from the server./clear [amount]: Delete a specified number of messages.?clear [amount]: Alternative command for clearing messages.
/warn add [user] [reason]: Issue a warning to a user./warn remove [user]: Remove a warning from a user./warn list: View all active warnings in the server.
/role add [user] [role]: Add a role to a user./role remove [user] [role]: Remove a role from a user./role list [user]: Display all roles a user has.
/gc setup [gc-name]: Create a new group chat./gc add-member [gc-name] [member]: Add a member to a group chat./gc remove-member [gc-name] [member]: Remove a member from a group chat./gc delete [gc-name]: Delete a group chat./gc toggle: Enable or disable group chat functionality./gc rename [gc-name] [new-name]: Rename an existing group chat./gc admin [gc-name] [member]: Grant admin permissions to a member./gc leave [gc-name]: Leave a group chat.?gc setup [gc-name]: Alternative command for creating a group chat.
/trigger: Manage automatic responses to trigger words./trigger add: Add a new trigger word and response./trigger list: View all configured trigger words.
?sy [text]: Summarize text with AI assistance.?ask [question]: Ask a question to the AI.
/avatar [user]: Show a user's avatar./invite: Get an invite link for Riese.
Contributions are welcome! Fork the repository, make your changes, and submit a pull request.
Distributed under the MIT License. See LICENSE for more information.
Project Link: https://github.com/xxlyitemxx/project-reise