mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add VoiceClient.is_paused to query pause state.
This commit is contained in:
1 parent
55e63ed87f
commit
07d5328873
2 files changed
+7
No files matched your search
@@ -252,3 +252,6 @@ class AudioPlayer(threading.Thread):
|
||||
|
||||
def is_playing(self):
|
||||
return self._resumed.is_set() and not self._end.is_set()
|
||||
|
||||
def is_paused(self):
|
||||
return not self._end.is_set() and not self._resumed.is_set()
|
||||
Reference in new issue
Block a user