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

Fix usage of additional_prefixes in the example #264

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

ravener
Copy link
Contributor

@ravener ravener commented May 7, 2024

This did not work for me, the second prefix with the comma would not respond, after a while I came up with an assumption that maybe the first prefix gets matched and instead the comma becomes treated as part of the command name and no command matches, so this is easily fixed by trying to match the longer prefix first.

@GnomedDev GnomedDev merged commit 8ba38c0 into serenity-rs:current Oct 21, 2024
12 checks passed
@ravener ravener deleted the patch-1 branch October 22, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants