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

"Loading options failed" in /faq command #25

Open
Nik-Was opened this issue Jun 2, 2024 · 1 comment
Open

"Loading options failed" in /faq command #25

Nik-Was opened this issue Jun 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Nik-Was
Copy link

Nik-Was commented Jun 2, 2024

When typing in the /faq command, the list of available IDs fails to load.

failed

When you start typing the ID, matching options load properly.

success

If the ID is erased, the options fail to load again.

@Erdragh Erdragh added the bug Something isn't working label Jun 3, 2024
@Erdragh Erdragh self-assigned this Jun 3, 2024
@Erdragh
Copy link
Owner

Erdragh commented Jun 3, 2024

This is caused by Discord's limit of 25 Options to an autocomplete event. The easy fix will be to only suggest the first 25 FAQs, a better idea would probably be to register the FAQs as sub commands similar to how the NeoForged Project's Camelot handles /info and /docs. I will have to look into that.

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

No branches or pull requests

2 participants