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: Ensure autocomplete option values resolve to string for numerical types #1198

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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
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
1 participant