Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

fix 💥: change default delay until ready behavior #684

Merged
merged 1 commit into from
Oct 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions naff/models/naff/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__()
Expand All @@ -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"]:
"""
Expand Down