Skip to content

Conversation

@V3ntus
Copy link
Contributor

@V3ntus V3ntus commented Apr 23, 2022

About

Instead of sending an empty list, which Discord will not accept, send an empty field for choices

...
	await ctx.populate(choices=[])
	# or
	await ctx.populate(choices=None)
	# will now result in Discord sending "No options match your search"
	# instead of "Loading options failed" previously

Checklist

@EepyElvyra EepyElvyra merged commit f4b7bae into interactions-py:unstable Apr 23, 2022
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