Add /branch command #1

Merged
InValidFire merged 12 commits from test into main 2022-08-20 16:07:54 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 1bd6e3709c - Show all commits

View File

@ -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())