This project is a template for setting up a payment and chat support bot. The bot integrates with PayPal, credit card payments, and cryptocurrency transactions. It connects with both Discord and Telegram functionality and uses a Flask web server. Please note that there are known bugs, and the database table will need to be rebuilt and connected to a database for full functionality.
- Integration: Linked with Discord and Telegram.
- Chat Support: Includes chat support feature.
- Payment Gateways: Supports PayPal, credit card, and cryptocurrency payments.
- QR Code Generation: Includes functionality for QR code creation for easier payments or sharing.
This project requires the following dependencies, which are listed in the requirements.txt file:
requests~=2.32.3
python-dateutil~=2.9.0.post0
python-telegram-bot
Flask
mysql-connector-python
discord.py
python-dotenv
qrcode
clipboard
You can install the dependencies using:
pip install -r requirements.txt-
Clone the repository to your local machine.
git clone https://github.com/your-username/TelegramPaymentBot.git
-
Navigate to the project directory:
cd TelegramPaymentBot -
Install the dependencies:
pip install -r requirements.txt
-
Set up the environment variables by creating a
.envfile. Refer to the provided.envfile template and configure your own values. -
Database Setup: The database connection and tables need to be configured. Review the
sql.pyfile to understand the necessary queries, and set up your MySQL database accordingly. -
Running the Project: Run the Flask application or the bot services (Discord, Telegram) as needed.
python main.py
- Database Setup: The current codebase requires a fresh database setup. You may need to remake the database tables and ensure they are properly connected.
- Bug Fixes: This template contains some bugs that need to be addressed for full functionality.
- Fork the repository.
- Create a new branch..
- Make your changes.
- Commit and push your changes.
- Open a pull request.