1
0
Fork 0
mirror of synced 2024-06-17 01:54:35 +12:00

Check if voice exists before trying to stop it

This commit is contained in:
Phxntxm 2017-07-27 13:56:03 -05:00
parent 762bc7c3dc
commit c3e8e0fac6

View file

@ -68,6 +68,7 @@ class VoiceState:
def skip(self):
self.skip_votes.clear()
if self.voice:
self.voice.stop()
def after(self, _=None):