Closed iDutchy closed 5 years ago
How does your __init__
method looks like?
class Music: def __init__(self, bot): self.bot = bot
class Music: def init(self, bot): self.bot = bot
And where do you define lavalink?
Looks like I don't have that... I used this music.py example 🤷🏻♂️
You're using dev branch cog with Lavalink 2.1.10.
Downgrade your cog, or upgrade your Lavalink.py to V3.
Ah yes. That solved that issue. However I'm having another issue right now...
It does find music and puts it in the queue, but it doesn't play. When I use the nowplaying command it always stays at 00:00:00...
Make sure you execute play method on TrackEndEvent
event.
As the original issue has been solved, maybe you should join our support server for further issues.
I'm going with what @Zenrac said and closing this issue.
Hi there,
When trying to load the cog it gives me this error:
- 'int' object has no attribute 'lavalink'