From e138091fcf7f52ee07334d15380177246cc1c7c7 Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Fri, 8 Oct 2021 18:58:41 -0400 Subject: [PATCH] are you fucking kidding me --- pomice/player.py | 5 +++++ setup.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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",