Open nsde opened 3 years ago
Hello,
Thank you for this. However, the invite links are supposed to be generated with a regular Discord token (not a bot). It’s intentional. I could potentially add an option for people to choose between generating via a bot and a regular Discord user.
Thank you!
I am not creating a pull request because I'm not sure how to use them, but anyways.
The code is not working really well, so I made it work.. kind of. Here are some code snippets to fix it:
headers['Authorization'] = 'Bot ' + token
, because this will tell the code that the code is ran by a bot, not a regular Discord user