This commit is contained in:
Riley Housden 2022-08-22 14:56:46 -04:00
parent dfd2b0195e
commit 54bb479e39

View file

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