diff --git a/pomice/player.py b/pomice/player.py index 37da9b0..b6147e6 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -67,6 +67,11 @@ class Player(VoiceProtocol): """Property which returns whether or not the player is actively playing a track.""" return self._is_connected and self.current is not None + @property + def is_connected(self) -> bool: + """Property which returns whether or not the player is connected""" + return self._is_connected + @property def is_paused(self) -> bool: """Property which returns whether or not the player has a track which is paused or not.""" diff --git a/setup.py b/setup.py index 300fddb..aa689c9 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md") as f: setuptools.setup( name="pomice", author="cloudwithax", - version="1.0.5.1", + version="1.0.5.2", url="https://github.com/cloudwithax/pomice", packages=setuptools.find_packages(), license="GPL",