You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In application page click OAuth -> URL Generator and check the box for bot
Copy the link generated and paste into web browser to invite bot to your discord server
Go to bot page in discord, and reset your token (make sure to copy and paste this somewhere
or you will have to reset token again)
Setting up your environment
Use virtualenv to setup a python 3.12 environment or if you want you can use native python 3.12 from system
Run pip install -r requirements.txt from this directory to install dependencies
Setting up Python Secrets and Bot Config
Create a .env file in this directory and set the following variables
DISCORD_BOT_TOKEN=<YOUR TOKEN FROM BEFORE HERE>
MOD_AUDIT_CHANNEL_ID=<Moderation Audit Channel ID here>
ROLE_MESSAGE_ID=<Message to react to for role assignment here>
MODERATOR_ROLES=<roles here separated by `,`for example `a,b,c`>
LOGURU_LEVEL=<LOG LEVEL>
Source the env file you created and run the app.py