- Enable developers mode on discord
Settings/Advanced/Developers Mode
- Naviagate to (discord developers portal)[https://discord.com/developers/applications] and create a new application
- Copy the oauth2 client Id and connect the application to your server using the following invite link
https://discord.com/api/oauth2/authorize?client_id=<CLIENT-ID>&permissions=8&scope=bot