I\'m trying to setup a discord bot with python. I have a pre-existing discord server that I would like the bot to join, but I\'m having a hard time doing so.
It's been 4 years since I asked the question and here's how I deal with this problem nowadays.
I use https://discordapi.com/permissions.html where you just paste your bot's ID (which you can get here: https://discord.com/developers/applications ) and it also has the benefit of calculating whatever permissions configuration you want for you.
If you're lazy, this could be a decent solution for you too.