Add git logo as image to embeds

This commit is contained in:
Zeva Rose 2022-05-01 10:19:43 -06:00
parent 78776e7ae5
commit 0660a3aec9

View file

@ -198,6 +198,7 @@ class BotutilCog(Scale):
embed = build_embed( embed = build_embed(
"Update Status", description="Updates have been applied", fields=fields "Update Status", description="Updates have been applied", fields=fields
) )
embed.set_image(url="https://dev.zevaryx.com/git.png")
self.logger.info("Updates applied") self.logger.info("Updates applied")
await ctx.reply(f"```ansi\n{capture.get()}\n```", embed=embed) await ctx.reply(f"```ansi\n{capture.get()}\n```", embed=embed)
@ -205,6 +206,7 @@ class BotutilCog(Scale):
else: else:
embed = build_embed(title="Update Status", description="No changes applied", fields=[]) embed = build_embed(title="Update Status", description="No changes applied", fields=[])
embed.set_footer(text=current_hash) embed.set_footer(text=current_hash)
embed.set_image(url="https://dev.zevaryx.com/git.png")
await ctx.reply(embed=embed) await ctx.reply(embed=embed)