Ask coding questions

← Back to all posts
Why it say VoiceError: 'NoneType' object has no attribute 'read'?
h
Mooping

So I am using loop command.
And loop command to link with play_next_song.
Somehow play_next_song give me error like this.
Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/player.py", line 616, in _call_after
self.after(error)
File "main.py", line 239, in play_next_song
raise VoiceError(str(error))
VoiceError: 'NoneType' object has no attribute 'read'
???????????????????????
How to fix this?

Voters
EdibleCactus
Mooping