🎭Role Selection
Role selection allows your members to pick their own roles, helpful in multiple scenarios where you may want to for ping only members of a specific rol or gate specific channel access.
Parameter | Description |
---|---|
Role | A role to grant the members |
Display-name | The name you want the user to see |
Adding roles
To make roles available for users to select simply run: /role-selection add-role
Pick the role you want to add and the display name you want the user to see.
Example:
![](https://docs.tektools.app/~gitbook/image?url=https%3A%2F%2F2649312408-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhGcUBDxovibkAp0gIDWo%252Fuploads%252FIY9oxcQk5zYqdtMYyFbx%252Fimage.png%3Falt%3Dmedia%26token%3D199cdcab-5387-4477-8fde-95c7edabd2a4&width=768&dpr=4&quality=100&sign=b147a468&sv=1)
After you run this command, you will get the following message each time you add a role, allowing you to decide when you are done and ready to make role selection available to your members.
![](https://docs.tektools.app/~gitbook/image?url=https%3A%2F%2F2649312408-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhGcUBDxovibkAp0gIDWo%252Fuploads%252FUR90SVtj7DYXL6chr9OG%252Fimage.png%3Falt%3Dmedia%26token%3Dff1f3592-8833-416d-adc5-c474e8ad0661&width=768&dpr=4&quality=100&sign=1a8ed108&sv=1)
To create a dropdown available for your members to to pick their own roles, simply click on "Send Role Selection"
This message will be sent to the channel you are running the commands now available to everyone.
![](https://docs.tektools.app/~gitbook/image?url=https%3A%2F%2F2649312408-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhGcUBDxovibkAp0gIDWo%252Fuploads%252FNgX9xQcpqRryhTwEHKdZ%252Fimage.png%3Falt%3Dmedia%26token%3D99a81dee-6be1-42b6-93b6-265f0a9cd40a&width=768&dpr=4&quality=100&sign=7bbeafac&sv=1)
List roles
At any given moment you can check which roles you have entered in the system prior to making the dropdown available, simply run the following command:
/role-selection list-roles
From here you can either confirm everything is as you wish and click 'Send Role Selection' or 'Delete a Role' to remove any unwanted option.
![](https://docs.tektools.app/~gitbook/image?url=https%3A%2F%2F2649312408-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhGcUBDxovibkAp0gIDWo%252Fuploads%252FdN3xzqJ3zautI64GtlLM%252Fimage.png%3Falt%3Dmedia%26token%3D8197f95b-8bd8-48b4-a30a-c047a5c52d71&width=768&dpr=4&quality=100&sign=a03f4fc4&sv=1)
Last updated