Is it possible to add members to a guild? #1230
-
The discord API makes this possible by providing the users access token: Is there a way to achieve this using discordPHP? |
Beta Was this translation helpful? Give feedback.
Answered by
valzargaming
Jun 24, 2024
Replies: 1 comment 1 reply
-
This requires being in the scope of oauth2, so no, not out of the box. You would want to look at using something like MarkisDev/discordoauth for that kind of thing. I wrote a class that lets me do something similar in one of my bots, but again this is in the context of ReactPHP HttpServer. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bvtrfly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This requires being in the scope of oauth2, so no, not out of the box. You would want to look at using something like MarkisDev/discordoauth for that kind of thing.
I wrote a class that lets me do something similar in one of my bots, but again this is in the context of ReactPHP HttpServer.