diff --git a/sarenrae/sarenrae.py b/sarenrae/sarenrae.py index 776979f..471ad9d 100644 --- a/sarenrae/sarenrae.py +++ b/sarenrae/sarenrae.py @@ -35,25 +35,25 @@ class Sarenrae(commands.Cog): @commands.command() async def ancestry(self, ctx, *args): name = ' '.join(args) - html = self.api_ping("ancestry", name) + html = await self.api_ping("ancestry", name) await ctx.send(file=discord.File(image(html), filename=f"{name}.jpg")) @commands.command() async def action(self, ctx, *args): name = ' '.join(args) - html = self.api_ping("action", name) + html = await self.api_ping("action", name) await ctx.send(file=discord.File(image(html), filename=f"{name}.jpg")) @commands.command() - async def spell(self, ctx, *args): + async def sar_spell(self, ctx, *args): name = ' '.join(args) - html = self.api_ping("spell", name) + html = await self.api_ping("spell", name) await ctx.send(file=discord.File(image(html), filename=f"{name}.jpg")) @commands.command() async def item(self, ctx, *args): name = ' '.join(args) - html = self.api_ping("equipment", name) + html = await self.api_ping("equipment", name) await ctx.send(file=discord.File(image(html), filename=f"{name}.jpg")) @commands.command()