Skip to content

Commit 9bbb916

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 23a0438 commit 9bbb916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/voice_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
from __future__ import annotations
4141

4242
import asyncio
43+
import datetime
4344
import logging
4445
import select
4546
import socket
4647
import struct
4748
import threading
4849
import time
49-
import datetime
5050
from typing import TYPE_CHECKING, Any, Callable, Literal, overload
5151

5252
from . import opus, utils
@@ -993,6 +993,6 @@ def send_audio_packet(self, data: bytes, *, encode: bool = True) -> None:
993993
def played_seconds(self) -> datetime.timedelta:
994994
"""Gets the elapsed time of the playing audio. Returns 0 if not playing anything."""
995995
if self._player:
996-
return datetime.timedelta(milliseconds=self._player.played_frames()*20)
996+
return datetime.timedelta(milliseconds=self._player.played_frames() * 20)
997997
else:
998998
return datetime.timedelta()

0 commit comments

Comments
 (0)