fix(aurora): default timeouts to None instead of 0
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 35s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 49s

This commit is contained in:
Seaswimmer 2024-05-03 22:25:03 -04:00
parent bd48b43517
commit 76e9c1ec0d
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F
4 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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