Skip to content

fix: Ensure autocomplete option values resolve to string for numerical types #1198

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

Merged
merged 3 commits into from
Apr 8, 2025

Conversation

Jiralite
Copy link
Member

Resolves #1175.

A type argument of the interaction type is passed to the integer and number options to know whether to return a string if it came from an autocomplete interaction.

@Jiralite Jiralite requested review from a team as code owners January 22, 2025 12:06
Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
discord-api-types ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 0:57am

@Jiralite Jiralite force-pushed the fix/autocomplete-string-values branch from f5f939f to c7528ce Compare January 22, 2025 12:10
@Jiralite Jiralite changed the title fix: string values for autocomplete fix: Ensure autocomplete option values resolve to string for numerical types Jan 22, 2025
@vladfrangu vladfrangu merged commit cfac62e into main Apr 8, 2025
6 checks passed
@vladfrangu vladfrangu deleted the fix/autocomplete-string-values branch April 8, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autocomplete value is determined based on the command option type
3 participants