Spaces:
Runtime error
Runtime error
new hint sentence
Browse files
bot.py
CHANGED
@@ -90,7 +90,7 @@ async def predict_image(ctx, id):
|
|
90 |
embed.set_thumbnail(url=path)
|
91 |
|
92 |
# Send the image
|
93 |
-
await ctx.respond("Hint: You can use [NParks Flora & Fauna Database](https://www.nparks.gov.sg/florafaunaweb),
|
94 |
|
95 |
@bot.command(
|
96 |
description="Get image observation",
|
@@ -112,7 +112,7 @@ async def image(ctx, id):
|
|
112 |
embed.add_field(name="Proposed by", value=image_data['author'], inline=True)
|
113 |
path = f'https://gainforest-transparency-dashboard.s3.amazonaws.com/{image_data["awsCID"]}'
|
114 |
embed.set_image(url=path)
|
115 |
-
await ctx.respond(f"You are looking at Image ID **{id}**\n!Hint: You can use [NParks Flora & Fauna Database](https://www.nparks.gov.sg/florafaunaweb),
|
116 |
|
117 |
def confAutocomplete(self: discord.AutocompleteContext):
|
118 |
return ['low', 'medium', 'high']
|
|
|
90 |
embed.set_thumbnail(url=path)
|
91 |
|
92 |
# Send the image
|
93 |
+
await ctx.respond("Hint: You can use [Singapore Biodiversity Online](https://singapore.biodiversity.online/), [NParks Flora & Fauna Database](https://www.nparks.gov.sg/florafaunaweb), and [Singapore Birds](https://singaporebirds.com/singapore-bird-list/) to verify", embed=embed)
|
94 |
|
95 |
@bot.command(
|
96 |
description="Get image observation",
|
|
|
112 |
embed.add_field(name="Proposed by", value=image_data['author'], inline=True)
|
113 |
path = f'https://gainforest-transparency-dashboard.s3.amazonaws.com/{image_data["awsCID"]}'
|
114 |
embed.set_image(url=path)
|
115 |
+
await ctx.respond(f"You are looking at Image ID **{id}**\n!Hint: You can use [Singapore Biodiversity Online](https://singapore.biodiversity.online/), [NParks Flora & Fauna Database](https://www.nparks.gov.sg/florafaunaweb), and [Singapore Birds](https://singaporebirds.com/singapore-bird-list/) to verify", embed=embed)
|
116 |
|
117 |
def confAutocomplete(self: discord.AutocompleteContext):
|
118 |
return ['low', 'medium', 'high']
|