SGA-A / c2c

Source code for the custom app exclusive to cc, where most interactions begin and end.
MIT License
2 stars 0 forks source link

Quick Matching #115

Closed SGA-A closed 1 month ago

SGA-A commented 1 month ago

Is your feature request related to a problem? Please describe. This issue addresses the need for matching other things similar to the way items in the economy system are matched. When you mistype a search query, the bot should provide you with similar prompts (but not if there aren't any) from which you can then pick what you actually meant. Helps in the long run as end-users don't need to retype commands for silly spelling mistakes.

Describe the solution you'd like The same solution that has been implemented for items within the economy system but for other searches such as the kona and tag command. We'll need to create a new class for the buttons representing the suggested queries. Since they both are based on a name (common property), these can be made using the same newly constructed class.

Additional context image

SGA-A commented 1 month ago

Implemented for tags. Not being implemented for the kona command due to XML hell. We may reconsider to implement it but that's unlikely.