Tiamat: fix monster embeds

This commit is contained in:
skins 2021-08-05 23:56:12 +01:00
parent a73bc059ea
commit 2c5a4f7421

View File

@ -28,7 +28,7 @@ class Tiamat(commands.Cog):
legendary_embed = discord.Embed(title="Legendary Actions")
for action in data["legendary_actions"]:
legendary_embed.add_field(name=action["name"], value=action["desc"])
await ctx.send(initial_embed)
await ctx.send(attack_embed)
await ctx.send(embed=initial_embed)
await ctx.send(embed=attack_embed)
if legendary_embed is not None:
await ctx.send(legendary_embed)
await ctx.send(embed=legendary_embed)