Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'wavelink' has no attribute 'client' #146

Closed
sanjaysanooj22 opened this issue Mar 15, 2022 · 4 comments
Closed

module 'wavelink' has no attribute 'client' #146

sanjaysanooj22 opened this issue Mar 15, 2022 · 4 comments

Comments

@sanjaysanooj22
Copy link

Traceback (most recent call last):
File "/Users/admin/Desktop/Cogs/music1.py", line 272, in
bot = Bot()
File "/Users/admin/Desktop/Cogs/music1.py", line 22, in init
self.add_cog(Music(self))
File "/Users/admin/Desktop/Cogs/music1.py", line 69, in init
self.bot.wavelink = wavelink.Client(bot=self.bot)
AttributeError: module 'wavelink' has no attribute 'Client'

@chillymosh
Copy link
Contributor

This is not an issue or a bug. Wavelink 1.x no longer has Client.
Please check the docs https://wavelink.readthedocs.io/en/latest/recipes.html

@sanjaysanooj22
Copy link
Author

So what should I do

@chillymosh
Copy link
Contributor

Read the docs or join the discord. You are using an outdated tutorial / example for wavelink 0.9.
d.py 2.0 and forks based off that require wavelink 1.x which does not have Client.

@chillymosh
Copy link
Contributor

This is not an issue, simply using an outdated version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants