From 76e9c1ec0db34e2b8b5daf5233eb21d593f2dcee Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 3 May 2024 22:25:03 -0400 Subject: [PATCH] fix(aurora): default timeouts to None instead of 0 --- aurora/menus/addrole.py | 2 +- aurora/menus/guild.py | 2 +- aurora/menus/immune.py | 2 +- aurora/menus/overrides.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aurora/menus/addrole.py b/aurora/menus/addrole.py index bb02546..11f6b32 100644 --- a/aurora/menus/addrole.py +++ b/aurora/menus/addrole.py @@ -7,7 +7,7 @@ from aurora.utilities.factory import addrole_embed class Addrole(ui.View): - def __init__(self, ctx: commands.Context, message: Message, timeout: int = 0): + def __init__(self, ctx: commands.Context, message: Message, timeout: int = None): super().__init__() self.ctx = ctx self.message = message diff --git a/aurora/menus/guild.py b/aurora/menus/guild.py index c6e91d3..f99e552 100644 --- a/aurora/menus/guild.py +++ b/aurora/menus/guild.py @@ -7,7 +7,7 @@ from aurora.utilities.utils import create_pagesize_options class Guild(ui.View): - def __init__(self, ctx: commands.Context, message: Message, timeout: int = 0): + def __init__(self, ctx: commands.Context, message: Message, timeout: int = None): super().__init__() self.ctx = ctx self.message = message diff --git a/aurora/menus/immune.py b/aurora/menus/immune.py index cfe0948..2a5c007 100644 --- a/aurora/menus/immune.py +++ b/aurora/menus/immune.py @@ -7,7 +7,7 @@ from aurora.utilities.factory import immune_embed class Immune(ui.View): - def __init__(self, ctx: commands.Context, message: Message, timeout: int = 0): + def __init__(self, ctx: commands.Context, message: Message, timeout: int = None): super().__init__() self.ctx = ctx self.message = message diff --git a/aurora/menus/overrides.py b/aurora/menus/overrides.py index 62c663a..c5d0e68 100644 --- a/aurora/menus/overrides.py +++ b/aurora/menus/overrides.py @@ -7,7 +7,7 @@ from aurora.utilities.utils import create_pagesize_options class Overrides(ui.View): - def __init__(self, ctx: commands.Context, message: Message, timeout: int = 0): + def __init__(self, ctx: commands.Context, message: Message, timeout: int = None): super().__init__() self.ctx = ctx self.message = message