Tiamat: bug fix
This commit is contained in:
parent
fdeef78467
commit
78828823df
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user