Suggestion - Bot Gateway Endpoint to Request Permissions
Users with the manage guild server permission can invite bots to a server and specify the allowed permissions. Extending this into the server by allowing bots to reopen the permissions dialog would enhance the user experience for managing bot permissions.
This could be limited to the permissions applied to a bot's integration role.
Example Scenario
You add a moderation bot to your server, but you forget to provide it with all the permissions it needs. One day, a trouble maker comes along and you type out the ban command. Normally, bots would either silently fail or they would inform the user that they need additional permissions. Instead, they might be greeted with a view such as the following:

Example Gateway Endpoint
Bots could send a permission request to the gateway containing the bitwise value of the permissions they need along with the guild member to request the permissions from.
The gateway would then return one of the two following:
- User lacks required permissions to grant the permissions.
- User granted the following permissions {bitwise value of permissions granted}

-
This would be real nice, and make our lives a lot easier in many circumstances,
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire