From b804ba801a5086021277af1d23eaf4c51dff637b Mon Sep 17 00:00:00 2001 From: PieTw3lve Date: Thu, 1 Aug 2024 14:56:11 -0400 Subject: [PATCH] Fixed view --- src/extensions/admin/rushsite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extensions/admin/rushsite.py b/src/extensions/admin/rushsite.py index aa0500c..37e6935 100644 --- a/src/extensions/admin/rushsite.py +++ b/src/extensions/admin/rushsite.py @@ -208,9 +208,9 @@ async def strike(ctx: lightbulb.Context, maps: str, user1: hikari.User, user2: h view = StrikeViewPlayoffs(embed, mapList, user1, user2) view.add_item(MapSelection(options)) - message = await ctx.respond(embed, components=view.build()) - - await view.start(message) + await ctx.respond(embed, components=view.build()) + client = ctx.bot.d.get('client') + client.start_view(view) ## Generate Pools ##