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.
I had some trouble with this as well. What you need to do is:
Your bot will now be a member of the server and will respond to commands you give it. Ex. !test in the code you have given.
EDIT: You can now use the permissions link (1) to generate the entire URL needed.