dangit my linter is not being helpful right now

This commit is contained in:
Riley Housden 2022-08-22 14:55:10 -04:00
parent 1daacbc18c
commit dfd2b0195e

View file

@ -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: