From 1bd6e3709c0483302b25fcc020dfef2bc2ace2bb Mon Sep 17 00:00:00 2001 From: Riley Housden Date: Sat, 20 Aug 2022 01:20:01 -0400 Subject: [PATCH] add image to LibCal confirmation dialog --- ext/libcal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/libcal.py b/ext/libcal.py index 97a6497..b1ad9d0 100644 --- a/ext/libcal.py +++ b/ext/libcal.py @@ -69,6 +69,7 @@ async def book(ctx: lightbulb.Context) -> None: add_rooms_to_embed(room_list, response) response.title = "Room Bookings" response.description = "Are the booking(s) correct?" + response.set_image(ctx.options.img) view = BookingConfirmationView(room_list=room_list, image=ctx.options.img) resp = await ctx.respond(response, components=view.build()) view.start(await resp.message())