aboutsummaryrefslogtreecommitdiff
path: root/discord/voice_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/voice_client.py')
-rw-r--r--discord/voice_client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py
index a363586c..64dd6538 100644
--- a/discord/voice_client.py
+++ b/discord/voice_client.py
@@ -337,6 +337,10 @@ class VoiceClient:
"""Indicates if we're currently playing audio."""
return self._player is not None and self._player.is_playing()
+ def is_paused(self):
+ """Indicates if we're playing audio, but if we're paused."""
+ return self._player is not None and self._player.is_paused()
+
def stop(self):
"""Stops playing audio."""
if self._player: