You must run in anaconda
Use this to get the right enviroment conda create -c conda-forge -n skill-bot python=3.11 discord.py
- Go to https://discord.com/developers/applications and click the New Application button at the top right.
- Scroll down to Message Content Intent and check the button. This is so the bot knows what is sent
- OAuth2->URL Generator link on the left sidebar. This will present a table of check boxes. Select bot. Add these permissions
- Send Messages
- Create Public Threads
- Send Messages in Threads
- Embed Links
- Attach Files
- Add Reactions
- Copy the generated URL found at the bottom of the page.
- copy the Token displayed next to your bot's icon. DISCORD_TOKEN=
- Get the channel id and put it in secrets.env