mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 02:43:01 +00:00
Add VoiceClient.is_paused to query pause state.
This commit is contained in:
@ -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