Oauth2 Scope : Add member to a server once #5003
Unanswered
leElvyn
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
If the point is to reduce abuse, that would imply asking abusers to use this more limited scope rather than the more permissive one, which they would likely not do. Unless you're asking to fully replace the current scope with this one, I'm not sure this is really useful |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Why is this needed ?
The
guilds.join
Oauth2 scope can be very useful. It allows you to add a user to a guild, with the roles you need.This can be very useful in a lot of situations, but two notable ones are :
Unfortunately, a lot of apps make abuse of that permission, and will attempt to add you to "partner" guilds, or other if you don't immediately unlink the app, and thus a lot of users are reluctant to accepting prompts containing the
guilds.join
scope. Having this scope prevents abuses.Alternatives considered
You can simply accept the full scope, and instantly unlink the app. But that can cause issues since it can unlink the account to the app.
Additional details
This
guilds.join_once
would function exactly the same as the current scope, but it expire after only one successful use.See : https://discord.com/developers/docs/resources/guild#add-guild-member
Beta Was this translation helpful? Give feedback.
All reactions