Python Discord BOT for a simple market system. Made for a university course.
- Discord Developer Portal Application Guide
- Python 3.8 or higher
- Prisma (required for database actions)
- Docker (optional)
- Docker Compose (optional)
- Clone the repository
- Install the requirements with
pip install -r requirements.txt
- Invite your bot to your server
- Start the database with
docker-compose up -d
or by runningdocker-compose.yml
in your IDE. - Start the bot by running
python marketbot/main.py
or by clicking the play button in your IDE. - Have fun!
Copy the .env.example
file to .env
and fill in the required values.
Command | Description |
---|---|
/help |
Shows a list of all commands |
/marketplace |
Shows a list of all the available items in the market |
/shop <args> |
Create an order |
/delete <id> |
Deletes an order (you can only delete the ones you created) |
/update <id> <args> |
Updates an order (you can only update the ones you created) |
/ping |
Shows the latency of the bot |
/channel-info |
Shows information about a channel on the server |
/roll |
Rolls a random number |
/server-info |
Shows information about the server |
This project is licensed under the MIT License - see the LICENSE file for details.