are you fucking kidding me

This commit is contained in:
cloudwithax 2021-10-08 18:58:41 -04:00
parent d0a149793f
commit e138091fcf
2 changed files with 6 additions and 1 deletions

View File

@ -67,6 +67,11 @@ class Player(VoiceProtocol):
"""Property which returns whether or not the player is actively playing a track.""" """Property which returns whether or not the player is actively playing a track."""
return self._is_connected and self.current is not None 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 @property
def is_paused(self) -> bool: def is_paused(self) -> bool:
"""Property which returns whether or not the player has a track which is paused or not.""" """Property which returns whether or not the player has a track which is paused or not."""

View File

@ -6,7 +6,7 @@ with open("README.md") as f:
setuptools.setup( setuptools.setup(
name="pomice", name="pomice",
author="cloudwithax", author="cloudwithax",
version="1.0.5.1", version="1.0.5.2",
url="https://github.com/cloudwithax/pomice", url="https://github.com/cloudwithax/pomice",
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
license="GPL", license="GPL",