add image to LibCal confirmation dialog
This commit is contained in:
parent
abd583401e
commit
1bd6e3709c
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ async def book(ctx: lightbulb.Context) -> None:
|
||||||
add_rooms_to_embed(room_list, response)
|
add_rooms_to_embed(room_list, response)
|
||||||
response.title = "Room Bookings"
|
response.title = "Room Bookings"
|
||||||
response.description = "Are the booking(s) correct?"
|
response.description = "Are the booking(s) correct?"
|
||||||
|
response.set_image(ctx.options.img)
|
||||||
view = BookingConfirmationView(room_list=room_list, image=ctx.options.img)
|
view = BookingConfirmationView(room_list=room_list, image=ctx.options.img)
|
||||||
resp = await ctx.respond(response, components=view.build())
|
resp = await ctx.respond(response, components=view.build())
|
||||||
view.start(await resp.message())
|
view.start(await resp.message())
|
||||||
|
|
Loading…
Reference in a new issue