This commit is contained in:
Riley Housden 2022-08-22 14:56:46 -04:00
parent dfd2b0195e
commit 54bb479e39
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ async def book_error_handler(event: lightbulb.CommandErrorEvent):
embed.set_image(event.context.options.img)
owners = await event.context.bot.fetch_owner_ids()
for user_id in owners:
await event.context.bot.rest.fetch_user(user_id).send(embed)
await (await event.context.bot.rest.fetch_user(user_id)).send(embed)
else:
embed = hikari.Embed(
title="Booking Error", description="Whelp, better luck next time I guess... the images used are attached.")