shahriyardx / dismusic

Music cog for discord bots. Supports YouTube, YoutubeMusic, SoundCloud and Spotify.
https://pypi.org/project/dismusic/
MIT License
64 stars 35 forks source link

AttributeError: module 'wavelink' has no attribute 'abc' #7

Open RealmiRoblox opened 1 year ago

RealmiRoblox commented 1 year ago

Traceback (most recent call last): File "C:\Users\BaraK\Desktop\FadertyBot\main.py", line 2, in <module> import dismusic File "C:\Users\BaraK\Desktop\FadertyBot\venv\Lib\site-packages\dismusic\__init__.py", line 15, in <module> from .events import MusicEvents File "C:\Users\BaraK\Desktop\FadertyBot\venv\Lib\site-packages\dismusic\events.py", line 15, in <module> class MusicEvents(commands.Cog): File "C:\Users\BaraK\Desktop\FadertyBot\venv\Lib\site-packages\dismusic\events.py", line 20, in MusicEvents self, player: DisPlayer, track: wavelink.abc.Playable ^^^^^^^^^^^^ AttributeError: module 'wavelink' has no attribute 'abc'

mrmeloman commented 1 year ago

The issue is still there )= (no pressure, just updating)

Edit: I got rid of this particular error by downgrading my wavelink to 1.2.4 However, there are some further errors, as this was written for a much older version of discord.py I didn't get it to work, as I was not ready to downgrade discord.py

shahriyardx commented 1 year ago

The issue is still there )= (no pressure, just updating)

Edit: I got rid of this particular error by downgrading my wavelink to 1.2.4 However, there are some further errors, as this was written for a much older version of discord.py I didn't get it to work, as I was not ready to downgrade discord.py

Yes it was released for dpy 1.6.2 or older I believe, it works with latest nextcord but not dpy 2.0 or higher

I will work on making it compatible with latest dpy, dpy prefix, dpy slash and nextcord latest too

I just need some time since there is no one to help me right now, and I am working on a lot of freelance projects

mrmeloman commented 1 year ago

The issue is still there )= (no pressure, just updating) Edit: I got rid of this particular error by downgrading my wavelink to 1.2.4 However, there are some further errors, as this was written for a much older version of discord.py I didn't get it to work, as I was not ready to downgrade discord.py

Yes it was released for dpy 1.6.2 or older I believe, it works with latest nextcord but not dpy 2.0 or higher

I will work on making it compatible with latest dpy, dpy prefix, dpy slash and nextcord latest too

I just need some time since there is no one to help me right now, and I am working on a lot of freelance projects

Thank you a lot for your work!