tterrag1098 / K9

A Discord bot with some useful commands.
http://tterrag.com/k9/
MIT License
42 stars 32 forks source link

Add support for official mappings #63

Closed SizableShrimp closed 3 years ago

SizableShrimp commented 3 years ago

This PR adds support for official mappings. Additionally, aliases are also added to ICommand with CommandRegistrar being updated accordingly to support them. This makes it possible to use !mojmaps, !mm, or !official.

I do not have the best grasp of this project, so please let me know where I could improve the code. I added a TODO where I think clojure types could be used instead of manual conversion, but I didn't figure out how.

SizableShrimp commented 3 years ago

I've updated the PR to do less unnecessary changes. Aliases have been removed and SignatureHelper has been returned to a class requiring an instance.