User-bound instant invites #6346
Unanswered
Zoddo
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
Suggested API endpoints for the function:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be useful to be able to create single-use invites that are only acceptable by a specific user.
For example, this could be implemented by adding a
recipient_id
field to the Invite Object and Create Channel Invite endpoints.When such an invite is used, the API should check if the current user matches
recipient_id
and otherwise reject the request.Why is this needed?
This could be used by apps as an alternative to the
guilds.join
OAuth2 scope if they want to secure an invite to a server.This has a few advantages:
guilds.join
a privileged scope to stop abuses around itBeta Was this translation helpful? Give feedback.
All reactions