lol forgot an await
This commit is contained in:
parent
64c0977eb0
commit
1daacbc18c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ async def book_error_handler(event: lightbulb.CommandErrorEvent):
|
||||||
await event.context.respond(embed=embed)
|
await event.context.respond(embed=embed)
|
||||||
embed.title = "Image match failed!"
|
embed.title = "Image match failed!"
|
||||||
embed.description = f"I failed to find any bookings in the attached image."
|
embed.description = f"I failed to find any bookings in the attached image."
|
||||||
embed.add_field("Image text", get_image_string(event.context.options.img.read()))
|
embed.add_field("Image text", get_image_string(await event.context.options.img.read()))
|
||||||
embed.set_image(event.context.options.img)
|
embed.set_image(event.context.options.img)
|
||||||
owners = event.context.bot.fetch_owner_ids()
|
owners = event.context.bot.fetch_owner_ids()
|
||||||
for user_id in owners:
|
for user_id in owners:
|
||||||
|
|
Loading…
Reference in a new issue