From 65c6af32d9c7704e648e4a9081b6f94fc8274a69 Mon Sep 17 00:00:00 2001 From: LordOfPolls Date: Sun, 23 Oct 2022 16:16:33 +0100 Subject: [PATCH] feat: change default delay until ready behavior --- naff/models/naff/listener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/naff/models/naff/listener.py b/naff/models/naff/listener.py index abd8ab13d..3da9b4532 100644 --- a/naff/models/naff/listener.py +++ b/naff/models/naff/listener.py @@ -26,7 +26,7 @@ def __init__( func: Callable[..., Coroutine], event: str, *, - delay_until_ready: bool = True, + delay_until_ready: bool = False, delete_if_overridden: bool = False, ) -> None: super().__init__() @@ -41,7 +41,7 @@ def create( cls, event_name: Absent[str | BaseEvent] = MISSING, *, - delay_until_ready: bool = True, + delay_until_ready: bool = False, delete_if_overridden: bool = False, ) -> Callable[[Coroutine], "Listener"]: """