Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit a54eeaa

Browse files
authored
Raise NotImplemented Error in is_playing
1 parent 95f35a6 commit a54eeaa

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

wavelink/player.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,7 @@ def is_connected(self):
116116

117117
@property
118118
def is_playing(self):
119-
""" Returns the player's track state. """
120-
if not self.is_connected:
121-
return False
122-
123-
if not self.last_position:
124-
return False
125-
126-
if self.last_position > 0 and self.last_position < self.current.duration:
127-
return True
128-
129-
return False
119+
raise NotImplementedError
130120

131121
@property
132122
def position(self):

0 commit comments

Comments
 (0)