diff options
author | 2024-02-19 21:40:07 +0000 | |
---|---|---|
committer | 2024-03-04 12:35:02 +0000 | |
commit | 4fd0b4d5e8f67810cb08370504a57d38c6e3d89c (patch) | |
tree | 23fdb2542e6224595a538e11b229c69628da7387 /pydis_core/utils | |
parent | ruff lint fix: Manual non-breaking changes (diff) |
ruff lint fix: Breaking changes to make bool args kwarg-only
Diffstat (limited to 'pydis_core/utils')
-rw-r--r-- | pydis_core/utils/checks.py | 1 | ||||
-rw-r--r-- | pydis_core/utils/pagination.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pydis_core/utils/checks.py b/pydis_core/utils/checks.py index 50fb2082..3ae92489 100644 --- a/pydis_core/utils/checks.py +++ b/pydis_core/utils/checks.py @@ -43,6 +43,7 @@ def in_whitelist_check( channels: Container[int] = (), categories: Container[int] = (), roles: Container[int] = (), + *, fail_silently: bool = False, ) -> bool: """ diff --git a/pydis_core/utils/pagination.py b/pydis_core/utils/pagination.py index dd7f1edc..1d2b32c3 100644 --- a/pydis_core/utils/pagination.py +++ b/pydis_core/utils/pagination.py @@ -194,6 +194,7 @@ class LinePaginator(Paginator): lines: list[str], ctx: Context | discord.Interaction, embed: discord.Embed, + *, prefix: str = "", suffix: str = "", max_lines: int | None = None, |