fixing blackjack and improving lookup

This commit is contained in:
Nikolaj committed 2022-01-28 11:33:47 +01:00
1 parent cbf2ca765e
commit 05cd5831e1
10 files changed
+219 -160

No files matched your search

+2 -2
View File
@@ -18,13 +18,13 @@ class LookupCog(commands.Cog):
@cog_ext.cog_slash(**params["spell"])
async def spell(self, ctx, query):
"""Look up a spell."""
await self.bot.lookup_funcs.spellFunc(ctx, query)
await self.bot.lookup_funcs.spell_func(ctx, query)
# Looks up a monster
@cog_ext.cog_slash(**params["monster"])
async def monster(self, ctx, query):
"""Look up a monster."""
await self.bot.lookup_funcs.monsterFunc(ctx, query)
await self.bot.lookup_funcs.monster_func(ctx, query)
def setup(bot):