diff --git a/docs/wavelink.rst b/docs/wavelink.rst index 1f54b44c..a150d7cd 100644 --- a/docs/wavelink.rst +++ b/docs/wavelink.rst @@ -93,8 +93,9 @@ An event listener in a cog. Triggered when the :attr:`~wavelink.Player.inactive_timeout` countdown expires for the specific :class:`~wavelink.Player`. - See: :attr:`~wavelink.Player.inactive_timeout` - See: :class:`~wavelink.Node` for setting a default on all players. + + - See: :attr:`~wavelink.Player.inactive_timeout` + - See: :class:`~wavelink.Node` for setting a default on all players. Examples diff --git a/wavelink/node.py b/wavelink/node.py index 85ce79a4..fcfa270c 100644 --- a/wavelink/node.py +++ b/wavelink/node.py @@ -121,7 +121,9 @@ class Node: If this is ``0`` or below, resuming will be disabled. Defaults to ``60``. inactive_player_timeout: int | None Set the default for :attr:`wavelink.Player.inactive_timeout` on every player that connects to this node. - Defaults to ``300``. See also: :func:`on_wavelink_inactive_player`. + Defaults to ``300``. + + See also: :func:`on_wavelink_inactive_player`. """ def __init__( diff --git a/wavelink/player.py b/wavelink/player.py index b5568569..38d8d73c 100644 --- a/wavelink/player.py +++ b/wavelink/player.py @@ -400,8 +400,9 @@ def inactive_timeout(self) -> int | None: When this property is set, the timeout will reset, and all previously waiting countdowns are cancelled. - See: :class:`~wavelink.Node` - See: :func:`on_wavelink_inactive_player` + - See: :class:`~wavelink.Node` + - See: :func:`on_wavelink_inactive_player` + .. versionadded:: 3.2.0 """