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 #67: Mistaking UN*X absolute paths as bot commands #68

Merged
merged 3 commits into from
May 7, 2024
Merged

Conversation

farooqkz
Copy link
Collaborator

@farooqkz farooqkz commented May 6, 2024

The solution is simple:

If there is a / in the parsed command other than in the start, it's a Text Element rather than a BotCommandSuggestion Element.

@Simon-Laux Simon-Laux merged commit 26c88c6 into master May 7, 2024
7 checks passed
@Simon-Laux Simon-Laux deleted the far-i67 branch May 7, 2024 11:10
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