Skip to content

[BUG] Autocomplete does not work under subcommand #779

@B1ue-Dev

Description

@B1ue-Dev

Describe the bug.

When trying to use @interactions.extension_aautocomplete() with an options under subcommand, it will not work. However, with normal command, it does work. Not sure why this can happen though.

List the steps.

  1. Create a subcommand with the following name /tag view, with an option called tag_name.
  2. In autocomplete: @interactions.extension_autocomplete(command="tag", name="tag_name").
  3. Run the code and test.

What you expected.

I was expecting autocomplete to populate the choice in the option of subcommand.

What you saw.

Autocomplete did not function on option selection in subcommand.

No error log in the Terminal. It just would not work.

What version of the library did you use?

stable

Version specification

4.2.0

Code of Conduct

  • I agree to follow the contribution requirements.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions