dangit my linter is not being helpful right now
This commit is contained in:
parent
1daacbc18c
commit
dfd2b0195e
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ async def book_error_handler(event: lightbulb.CommandErrorEvent):
|
||||||
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(await 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 = await event.context.bot.fetch_owner_ids()
|
||||||
for user_id in owners:
|
for user_id in owners:
|
||||||
await event.context.bot.rest.fetch_user(user_id).send(embed)
|
await event.context.bot.rest.fetch_user(user_id).send(embed)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue