Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Updated return type for player.volume.
Browse files Browse the repository at this point in the history
  • Loading branch information
JackAshwell11 committed Jan 14, 2022
1 parent 5f96fa4 commit 9e2d94d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lavapy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
2 changes: 1 addition & 1 deletion lavapy/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9e2d94d

Please sign in to comment.