Skip to content

Conversation

@freya022
Copy link
Owner

@freya022 freya022 commented Jun 13, 2025

Fixes 0-length vararg for slash commands.

Restricted text commands to at least 1 required argument, to avoid confusion between variants

freya022 added 2 commits May 30, 2025 17:43
Required so there is no confusion between, for example:
- <prefix><command> <Int>
- <prefix><command> <Int> <Int[0..N]>

Added checks for slash commands too
@freya022 freya022 added this to the v3.0 milestone Jun 13, 2025
@freya022 freya022 added bug Something isn't working V3 labels Jun 13, 2025
@freya022 freya022 merged commit c901125 into 3.X Jun 17, 2025
2 checks passed
@freya022 freya022 deleted the zero-length-varargs branch June 17, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants