diff --git a/ext/libcal.py b/ext/libcal.py index fb63c11..768c50b 100644 --- a/ext/libcal.py +++ b/ext/libcal.py @@ -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.add_field("Image text", get_image_string(await event.context.options.img.read())) 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: await event.context.bot.rest.fetch_user(user_id).send(embed) else: