This repository contains a Python-based Discord bot that integrates with Daytona for development and testing. The bot uses the Discord API and is designed to demonstrate scalable and modular bot development practices.
-
Install Daytona: Follow the Daytona installation guide.
-
Start the Server:
daytona serve; -
Create the Workspace:
daytona create https://github.com/TheCoderAdi/discord-bot
-
Setup Environment:
Ensure all dependencies are installed by running:pip install -r requirements.txt
-
Configure the Bot:
- Create a
.envfile with your bot token and any other necessary credentials:DISCORD_TOKEN=your_discord_bot_token PRODIA_API_KEY=your_prodia_api_key
- Create a
-
Run the Bot:
Start the bot by running:python bot.py
- Integration with Daytona: Standardized development environment with devcontainers.
- Python Bot Framework: Modular design to allow easy extension of commands and features.
- Discord API: Handles real-time communication on Discord servers.
- Fork the repository.
- Create a new branch for your changes:
git checkout -b feature-branch
- Commit your changes:
git commit -m "Add feature" - Push to the branch:
git push origin feature-branch
- Open a pull request.
This repository is licensed under the MIT License. See the LICENSE file for more details.
For more details on Daytona, visit the official documentation.