1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Ensure current is set to None when no song is next

This commit is contained in:
Phxntxm 2017-06-30 19:46:02 -05:00
parent 61b6c5d0be
commit a752d3a3f7

View file

@ -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()