Ensure current is set to None when no song is next
This commit is contained in:
parent
61b6c5d0be
commit
a752d3a3f7
|
@ -115,6 +115,8 @@ class VoiceState:
|
|||
fut, self.current = _result
|
||||
if fut.exception():
|
||||
raise ExtractionError(fut.exception())
|
||||
else:
|
||||
self.current = None
|
||||
else:
|
||||
try:
|
||||
dj = self.djs.popleft()
|
||||
|
|
Loading…
Reference in a new issue