This is my first Discord Bot Project in GitHub. Usage of this is own Methods of learning and improvement!
-
Create Discord devolper app: Link
-
Activate Discord (developer) -> Bot -> 'MESSAGE CONTENT INTENT'.
-
Create .env and enter your token from Discord (developer) -> Bot
-
Discord (developer) -> OAuth2 -> URL Generator.
SCOPES: 'bot' BOT PERMISSIONS: 'Send Messages'
-> copy GENERATED URL
-> paste into browser
-> select server -
Create and activate virtual environment (optional)
cd src python3 -m venv venv source venv/bin/activate
-
Install dependencies
pip3 install -r requirements.txt
-
Execute main
python3 main.py