Create Queryable Adapter #101
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Request
Sub-Project
Description
There are times when a command has a parameter where the
Adaptermay need to perform a search.For example, on Discord a command might want to take that emote as a parameter, so it needs that emote, but it doesn't want to accept a list of multiple emotes.
The search for that emote may find multiple results, so the only choice is to assume which one the user wanted in the
Adapter,We should provide a standard mechanism for queryable parameters, ie a
Queryable<Emote>object which can be which can be used by a manually implementedAdapter<Queryable<Emote>>or just aQueryableAdapter<Emote>implementation.Instead of having to implement an interface to find a single item, it can be used to populate a
Queryablewith multiple results which can be in the command.