FundTransfer Bot is a Python-based Discord bot designed for managing group payouts in Roblox. It supports payout operations, role-based command restrictions, and provides robust error handling.
- Group Payouts: Effortlessly transfer Robux to members of your Roblox group.
- Role-Based Access: Restrict command usage to users with specific roles.
- Enhanced Error Handling: Detailed error messages and status updates.
- Python 3.12+
- A Discord API Token
- A Roblox API Token
- A
.env
file for environment variables
-
Clone the Repository
git clone https://github.com/yourusername/FundTransfer-Bot.git cd FundTransfer-Bot
-
Create and Activate a Virtual Environment
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
-
Configure Environment Variables Create a
.env
file in the root directory and add your environment variables:DISCORD_TOKEN=your_discord_token ROBLOX_COOKIE=your_roblox_cookie GROUP_ID=your_group_id TWOFACTOR_SECRET=your_twofactor_secret
-
Run the Bot
python bot.py
/grouppayout username amount
: Payout Robux to a specified Roblox username.
Ensure that commands are restricted to users with appropriate roles. Modify the role names in the code to match your server’s configuration.
- Detailed Errors: The bot provides clear error messages for command failures.
- Rate Limits: Handles rate limits to ensure commands respond in a timely manner.
- Fork the Repository
- Create a Feature Branch
git checkout -b feature/your-feature
- Commit Changes
git commit -am 'Add new feature'
- Push to Your Branch
git push origin feature/your-feature
- Create a Pull Request
This project is licensed under the MIT License.
- discord.py: The library used to interact with the Discord API.
- Requests: For making HTTP requests to the Roblox API.
- PyOTP: Used for generating and validating 2FA codes.
- Roblox API Documentation: For understanding the endpoints and functionality required for the bot.
For questions or support, please reach out to [[email protected]].