fix: quote role autocomplete values #241
No reviewers
Labels
No labels
beginner friendly
bug
chore
documentation
duplicate
feature
help wanted
invalid
needs-triage
question
size/L
size/M
size/S
size/XL
size/XS
urgent
wontfix
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/dalmatian!241
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/role-autocomplete-logical-operators"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #218
Quotes role names returned by /role autocomplete so role names containing logical operators are treated as a single role name by the parser. Also removes the additional display quotes so the role is not displayed with duplicate quotation marks.
Testing
Side effect
Autocomplete now passes quoted role names into roleString. The lookup compares roleString against raw Discord role names. This appears to break single-role embed coloring. I left this unchanged for now.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.