This repository was archived by the owner on Apr 5, 2025. It is now read-only.
Replies: 1 comment
-
@T2theoby Can you make sure you have updated your library and Wavelink is version 3.4.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. I'm having an issue using the on_wavelink_node_ready() function laid out in the documentation. I'm defining the functions parameters the same as in the documentation:
@commands.Cog.listener() async def on_wavelink_node_ready(self, payload: wavelink.NodeReadyEventPayload) -> None: logging.info(f"Wavelink Node connected: {payload.node!r} | Resumed: {payload.resumed}")
The
payload: wavelink.NodeReadyEventPayload
seems to throw back the error:AttributeError: module 'wavelink' has no attribute 'NodeReadyEventPayload'
Not sure this is an error in my code. I'm using a mostly unedited version of a discord music bot found here:
https://github.com/AnasGrzor/Z4-Music-Discord-Music-Bot.git
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions