diff options
-rw-r--r-- | bot/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/decorators.py b/bot/decorators.py index 3ce3d8c4..74976cd6 100644 --- a/bot/decorators.py +++ b/bot/decorators.py @@ -32,7 +32,7 @@ class InMonthCheckFailure(CheckFailure): pass -def seasonal_task(*allowed_months: Month, sleep_time: float = ONE_DAY) -> typing.Callable: +def seasonal_task(*allowed_months: Month, sleep_time: typing.Union[float, int] = ONE_DAY) -> typing.Callable: """ Perform the decorated method periodically in `allowed_months`. |