TsubakiBotPad / pad-cogs

Cogs for a Discord bot related to the mobile game Puzzle & Dragons
MIT License
10 stars 2 forks source link

When dbcog isn't loaded yet, try parsing the input of a query as a number #1839

Open RheingoldRiver opened 2 years ago

RheingoldRiver commented 2 years ago

If successful, do a db query & make a MonsterModel and return it, without waiting for the index or graph generation. This way, it's much less painful to edit external library code, because you don't have to wait for dbcog to rebuild when you restart the bot.