FabricMC / kotlin-fabric-discord-bot

The discord bot previously used in the fabric discord server.
MIT License
5 stars 7 forks source link

Mappings Command does not give intermediary names as the first suggestion when searching for a number #24

Closed OverlordsIII closed 3 years ago

OverlordsIII commented 3 years ago

This is not really a big issue, but when you run something like ?ym 4964 the bot doesn't actually look for ?ym method_4964 and looks for something else instead. An example that probably makes more sense is in the picture below. Thought this might be a nice feature so you wouldn't need to type out method or class . image

Edit: Looks like the bot does pick it up, but displays it on the very last page, could it just be moved to the first page?

i509VCB commented 3 years ago

I have a PR resolving the 20 -> method_20 lookup for methods and fields. The class lookup will probably be a future PR.

Scotsguy commented 3 years ago

Fixed in #25