Spaces:
Runtime error
Runtime error
Sharfy
commited on
Commit
·
584f89c
1
Parent(s):
ec3046b
Change image ID
Browse files
bot.py
CHANGED
@@ -104,7 +104,7 @@ async def image(ctx, id):
|
|
104 |
|
105 |
# Create an embed
|
106 |
embed = discord.Embed(color=discord.Colour.blurple())
|
107 |
-
embed.set_author(name=f"Image
|
108 |
embed.add_field(name="Sensor", value=image_data['sensor'], inline=True)
|
109 |
embed.add_field(name="Recorded at", value=image_data['timestamp'], inline=True)
|
110 |
embed.add_field(name="Recent Label", value=image_data['label'], inline=True)
|
|
|
104 |
|
105 |
# Create an embed
|
106 |
embed = discord.Embed(color=discord.Colour.blurple())
|
107 |
+
embed.set_author(name=f"Image ID: {id}", icon_url=ctx.author.display_avatar.url)
|
108 |
embed.add_field(name="Sensor", value=image_data['sensor'], inline=True)
|
109 |
embed.add_field(name="Recorded at", value=image_data['timestamp'], inline=True)
|
110 |
embed.add_field(name="Recent Label", value=image_data['label'], inline=True)
|