Set git image to thumbnail, not image

This commit is contained in:
Zeva Rose 2022-05-01 10:39:31 -06:00
parent 0b67131ded
commit 92cd0b1eae

View file

@ -200,7 +200,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") embed.set_thumbnail(url="https://dev.zevaryx.com/git.png")
self.logger.info("Updates applied") self.logger.info("Updates applied")
try: try:
@ -211,7 +211,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") embed.set_thumbnail(url="https://dev.zevaryx.com/git.png")
await ctx.reply(embed=embed) await ctx.reply(embed=embed)