Premature Validation Blocks Autocomplete Functionality in Slash Commands #7372
-
Hello Discord API Team, I have encountered an issue with how autocomplete functionality is handled in slash commands when required fields are left incomplete. The current behavior appears to validate the entire command, including required fields, before triggering the AutocompleteExecuted event. This validation results in an error and prevents the autocomplete handler from being called. Steps to Reproduce:
Observed Behavior:
The AutocompleteExecuted event is not triggered because the command fails validation for the currency field. Expected Behavior: Why This Is a Problem: Suggested Improvement: Thank you for your attention to this matter. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can close/delete this post. It was a bug that has been fixed by Discord. |
Beta Was this translation helpful? Give feedback.
You can close/delete this post. It was a bug that has been fixed by Discord.
#7350 (comment)