Raptor123471 / DingoLingo

A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
GNU General Public License v3.0
282 stars 165 forks source link

Previous command bug #33

Closed XPr0methiumX closed 3 years ago

XPr0methiumX commented 3 years ago

Hey, there's a bug in the previous command, when you play the first two songs, if you skip the first one and go to the next and then type '!prev' then it doesn't do anything and returns this error : Task exception was never retrieved future: <Task finished name='Task-132' coro=<AudioController.play_song() done, defined at /home/runner/Music-1/musicbot/audiocontroller.py:70> exception=AttributeError("'str' object has no attribute 'info'")> Traceback (most recent call last): File "/home/runner/Music-1/musicbot/audiocontroller.py", line 73, in play_song if song.info.title == None: AttributeError: 'str' object has no attribute 'info'

Also, it adds the song that you wanted to play before in the queue and basically breaks the queue into unlimited songs of the same thing until you clear the queue. If possible, please give me your discord so that I can provide you with screenshots and any help would be appreciated, Thanks!

Raptor123471 commented 3 years ago

Waiting for @XPr0methiumX to confirm fix on the PREV_FIX branch.