Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 5e117b3

Browse files
committed
Small fixes to docs
1 parent cb45ecc commit 5e117b3

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

docs/wavelink.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ An event listener in a cog.
9393

9494
Triggered when the :attr:`~wavelink.Player.inactive_timeout` countdown expires for the specific :class:`~wavelink.Player`.
9595

96-
See: :attr:`~wavelink.Player.inactive_timeout`
97-
See: :class:`~wavelink.Node` for setting a default on all players.
96+
97+
- See: :attr:`~wavelink.Player.inactive_timeout`
98+
- See: :class:`~wavelink.Node` for setting a default on all players.
9899

99100

100101
Examples

wavelink/node.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ class Node:
121121
If this is ``0`` or below, resuming will be disabled. Defaults to ``60``.
122122
inactive_player_timeout: int | None
123123
Set the default for :attr:`wavelink.Player.inactive_timeout` on every player that connects to this node.
124-
Defaults to ``300``. See also: :func:`on_wavelink_inactive_player`.
124+
Defaults to ``300``.
125+
126+
See also: :func:`on_wavelink_inactive_player`.
125127
"""
126128

127129
def __init__(

wavelink/player.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,9 @@ def inactive_timeout(self) -> int | None:
400400
401401
When this property is set, the timeout will reset, and all previously waiting countdowns are cancelled.
402402
403-
See: :class:`~wavelink.Node`
404-
See: :func:`on_wavelink_inactive_player`
403+
- See: :class:`~wavelink.Node`
404+
- See: :func:`on_wavelink_inactive_player`
405+
405406
406407
.. versionadded:: 3.2.0
407408
"""

0 commit comments

Comments
 (0)