This is a init project for Discord Bot development.
- Python
- Discord.py
- Python 3.13.0 or higher
- Discord bot
https://github.com/acmicpc0614/Discord-Bot-init-Python.git
cd Discord-Bot-init-Python
- windows:
python -m venv .venv
- linux:
python3 -m venv .venv
- windows:
.venv\Scripts\activate
- linux:
source .venv/bin/activate
- windows:
deactivate
- linux:
deactivate
pip install -r requirements.txt
DISCORD_TOKEN=
- You can use the Discord bot to get the token.
- Create a Discord bot, invite it to your server.
- Get token from the Discord bot.
python main.py
from logger import logger
...
logger.info("Hello, World!")
pip install audioop-lts