Add optional reason for role assignment
See original GitHub issueIf a user is a certain role on the discord server, but they did not assign that role to themselves, that might confuse them. In cases where the bot assigns a role if a condition passes, we could also save that reason for the new user’s role (on the DB perhaps).
This feature’s goal is to let the user execute a command or mention the bot, that gives them that reason, for a given role.
E.g:
<command-prefix>role <user-name> <role-name>
or
@EddieBot why do I have the role: <role-name>?
If it’s a mention, the user would have to use specific keywords like “why” and “role”
Let me know your thoughts on this 😀
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Assign Azure roles using the Azure portal - Microsoft Learn
Step 1: Identify the needed scope · Step 2: Open the Add role assignment page · Step 3: Select the appropriate role ·...
Read more >azure-docs/role-assignments-portal.md at main - GitHub
Step 5: (Optional) Add condition (preview) A condition is an additional check that you can optionally add to your role assignment to provide...
Read more >Assign specific admin roles - Google Workspace Admin Help
Assign a pre-built system role for performing common tasks. Review the Pre-built administrator roles. Create and assign a custom role that has different...
Read more >DirXMLScript DTD: do-add-role element
The role assignment type from one of USER_TO_ROLE, GROUP_TO_ROLE, CONTAINER_TO_ROLE or ROLE_TO_ROLE. A description of the reason for the request used for ...
Read more >Users - Adjust roles/subscriptions | Gull Wing Group
After filling in the form, clicking "Save feature" will add the feature to your product. You should see the summary of the role...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a suggestion @BOLT04 @eddiejaoude how about extending the
^bio
thing for this? So you can check out your bio but also on the end it saysRoles:
Steve is a …blah blah blah…
Steve has these roles: “Questionable Value”: “Started to miss the live streams especially the devops ones” - added Jun 19 2020
yes there might be since both are about role assignment. But maybe this issue could just be to change messageReactionAdd to store a reason on the DB. In this case, what is important is to store the message’s id (or some identifier) that got the 5+ reactions, so the bot can link back to it when the user asks.
But maybe we could create a PR that adds “Feature: Roles list and assignment command” and fix them together. What do you think?