Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vars): $randomActiveViewer Enhancements (#2805) #3027

Open
wants to merge 2 commits into
base: v5
Choose a base branch
from

Conversation

phroggster
Copy link
Collaborator

Description of the Change

  • Accept either a single custom role name or an array of multiple custom role names for inclusion filtering..
  • Accept either a single user name or an array of multiple user names for exclusion filtering.
  • Add a parameter to exclude a single custom role name or an array of custom role names.
  • Add a parameter to return either or both the username and/or id.
    • displayName is unavailable here though, sadly.
    • Good thing there's a variable available for that. 😁
  • Uses $arrayFrom[..., ...] for one readable example of array parameters.

Applicable Issues

#2805

Testing

pending a rousing of the troops.

Screenshots

vars menu expanded

- Accept multiple role names for include role filtering.
- Accept multiple user names for exclude user filtering.
- Add a param to exclude a role or multiple roles. crowbartools#2805
- Add a param to return either or both the username and/or id.
  - displayName is unavailable here though, sadly.
  - Good thing there's a variable for that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant