Skip to content

Commit

Permalink
Added some additional documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Dec 9, 2023
1 parent 21de582 commit 59efffa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/migrating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Added
- :meth:`wavelink.Node.fetch_player_info`
- :meth:`wavelink.Node.fetch_players`
- :attr:`wavelink.Playable.extras`
- :func:`wavelink.on_wavelink_extra_event`


Connecting
Expand Down
3 changes: 3 additions & 0 deletions docs/wavelink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ An event listener in a cog.
.. note::

Please see the documentation for your Lavalink plugins to determine what data they send.


.. versionadded:: 3.1.0


Types
Expand Down
3 changes: 3 additions & 0 deletions wavelink/payloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ class ExtraEventPayload:
The player associated with this event. Could be None.
data: dict[str, Any]
The raw data sent from Lavalink for this event.
.. versionadded:: 3.1.0
"""

def __init__(self, *, node: Node, player: Player | None, data: dict[str, Any]) -> None:
Expand Down

0 comments on commit 59efffa

Please sign in to comment.