diff options
author | 2024-02-19 21:35:56 +0000 | |
---|---|---|
committer | 2024-03-04 12:35:02 +0000 | |
commit | ccd94c90d33b7aee85117078576684fab5055ce5 (patch) | |
tree | f54d2e3c71f12fe4613026d5a35ceae4dea4bd5a /pydis_core/utils/scheduling.py | |
parent | ruff lint fix: Run remaining auto-fixable rules (diff) |
ruff lint fix: Manual non-breaking changes
Diffstat (limited to 'pydis_core/utils/scheduling.py')
-rw-r--r-- | pydis_core/utils/scheduling.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_core/utils/scheduling.py b/pydis_core/utils/scheduling.py index aa90b1e1..621fdd81 100644 --- a/pydis_core/utils/scheduling.py +++ b/pydis_core/utils/scheduling.py @@ -112,7 +112,7 @@ class Scheduler: def schedule_later( self, - delay: int | float, + delay: float, task_id: abc.Hashable, coroutine: abc.Coroutine ) -> None: @@ -156,7 +156,7 @@ class Scheduler: async def _await_later( self, - delay: int | float, + delay: float, task_id: abc.Hashable, coroutine: abc.Coroutine ) -> None: |