-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and Configuration
Eldritch Tenebris edited this page Mar 2, 2025
·
1 revision
Este guia fornece instruções detalhadas para instalar e configurar o bot Discord com MongoDB.
- Python 3.8 ou superior
- MongoDB (local ou na nuvem)
- Token de bot do Discord
- Permissões adequadas no servidor Discord
git clone https://github.com/seu-usuario/discord-bot-project.git
cd discord-bot-project# Windows
python -m venv venv
venv\Scripts\activate
# Linux/macOS
python3 -m venv venv
source venv/bin/activatepip install -r requirements.txtPara usar MongoDB localmente:
MONGO_URL=mongodb://localhost:27017
DB_NAME=discord_bot
Para MongoDB Atlas:
MONGO_URL=mongodb+srv://usuario:senha@cluster.mongodb.net/
DB_NAME=discord_bot
python src/main.py