aboutsummaryrefslogtreecommitdiff
path: root/discord/player.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/player.py')
-rw-r--r--discord/player.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/player.py b/discord/player.py
index 3ed7fb7d..4385a6df 100644
--- a/discord/player.py
+++ b/discord/player.py
@@ -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()