From 9e2d94d4a83f6ef31fb2aeb6889ba83e6bec64f4 Mon Sep 17 00:00:00 2001 From: Aspect1103 Date: Fri, 14 Jan 2022 12:06:16 +0000 Subject: [PATCH] Updated return type for player.volume. --- lavapy/__init__.py | 2 +- lavapy/player.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lavapy/__init__.py b/lavapy/__init__.py index 5cef7e8..2ff03c7 100644 --- a/lavapy/__init__.py +++ b/lavapy/__init__.py @@ -38,6 +38,6 @@ __author__ = "Aspect1103" __license__ = "MIT" __copyright__ = "Copyright 2021-present (c) Aspect1103" -__version__ = "1.3.1" +__version__ = "1.3.2" logging.getLogger(__name__).addHandler(logging.NullHandler()) diff --git a/lavapy/player.py b/lavapy/player.py index f860358..7774ec8 100644 --- a/lavapy/player.py +++ b/lavapy/player.py @@ -101,7 +101,7 @@ def track(self) -> Optional[Track]: return self._track @property - def volume(self) -> int: + def volume(self) -> float: """Returns the current volume.""" return self._volume