You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2023. It is now read-only.
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:
put this in the line before POSTing the JSON: headers['Authorization'] = 'Bot ' + token, because this will tell the code that the code is ran by a bot, not a regular Discord user
The text was updated successfully, but these errors were encountered:
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!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 userThe text was updated successfully, but these errors were encountered: