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

Commit

Permalink
fix 💥: change default delay until ready behavior (#684)
Browse files Browse the repository at this point in the history
feat: change default delay until ready behavior
  • Loading branch information
LordOfPolls authored Oct 24, 2022
1 parent 5669767 commit 9a36c0c
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 9a36c0c

Please sign in to comment.