From 7fb6445a8de951e041730d3bd794c7abf4a3a4bd Mon Sep 17 00:00:00 2001 From: skins Date: Thu, 5 Aug 2021 23:42:06 +0100 Subject: [PATCH] bug fix --- tiamat/tiamat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiamat/tiamat.py b/tiamat/tiamat.py index 3dc0d79..b20f534 100644 --- a/tiamat/tiamat.py +++ b/tiamat/tiamat.py @@ -8,7 +8,7 @@ class Tiamat(commands.Cog): def __init__(self, bot): self.bot = bot - def monster(self, ctx, *args): + async def monster(self, ctx, *args): name = '-'.join(args).lower() data = requests.get(f"https://www.dnd5eapi.co/api/monsters/{name}").json() if "error" in data: