-
-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add function to get elapsed time of playing audio on VoiceClient (
#2587) * add played_seconds function * Update CHANGELOG.md * style(pre-commit): auto fixes from pre-commit.com hooks * use datetime.timedelta instead of int * add comment * style(pre-commit): auto fixes from pre-commit.com hooks * rename function to reflect change * style(pre-commit): auto fixes from pre-commit.com hooks * don't use different counter * Update discord/voice_client.py Signed-off-by: Dorukyum <[email protected]> * Apply suggestions from code review Co-authored-by: Dorukyum <[email protected]> Signed-off-by: felix920506 <[email protected]> --------- Signed-off-by: felix920506 <[email protected]> Signed-off-by: Dorukyum <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dorukyum <[email protected]>
- Loading branch information
1 parent
1273941
commit 9a83a2a
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters