Add git logo as image to embeds
This commit is contained in:
parent
78776e7ae5
commit
0660a3aec9
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue