From 78828823df35cd9aa7506cf8fc9f75af76473eca Mon Sep 17 00:00:00 2001 From: skins Date: Sat, 7 Aug 2021 15:30:19 +0100 Subject: [PATCH] Tiamat: bug fix --- tiamat/tiamat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiamat/tiamat.py b/tiamat/tiamat.py index 2804560..5075732 100644 --- a/tiamat/tiamat.py +++ b/tiamat/tiamat.py @@ -35,7 +35,7 @@ class Tiamat(commands.Cog): await ctx.send(embed=legendary_embed) @commands.command() - def spell(self, ctx, *args): + async def spell(self, ctx, *args): name = '-'.join(args).lower() data = requests.get(f"https://www.dnd5eapi.co/api/spells/{name}").json() if "error" in data: