From edcd5fedeb7912d26a7f652544ce9a098cff3146 Mon Sep 17 00:00:00 2001 From: KDwevedi Date: Wed, 13 Mar 2024 19:50:01 +0530 Subject: [PATCH] fixing deployment error --- cogs/vcCog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/vcCog.py b/cogs/vcCog.py index 682658b..7637ca7 100644 --- a/cogs/vcCog.py +++ b/cogs/vcCog.py @@ -19,7 +19,7 @@ class CommunityVCView(ui.View): - def __init__(self, *, timeout: float | None = None): + def __init__(self, *, timeout=None): super().__init__(timeout=timeout) def isCommunityContributor(self, roles: list[Role]): @@ -145,7 +145,7 @@ async def serveDPGProfile(self, interaction: Interaction, button: ui.Button): class DMPVCView(ui.View): - def __init__(self, *, timeout: float | None = None): + def __init__(self, *, timeout=None): super().__init__(timeout=timeout) def isDMPContributor(self, roles: list[Role]): @@ -211,7 +211,7 @@ async def serveCertificateLink(self, interaction: Interaction, button: ui.Button class VCProgramSelection(ui.View): - def __init__(self, *, timeout: float | None = None): + def __init__(self, *, timeout=None): super().__init__(timeout=timeout) async def resetSelectMenu(self, interaction):