Skip to content

Commit

Permalink
build(dep): drop async timeout in favor of built-in functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
sn1f3rt committed Dec 15, 2024
1 parent b295fee commit 76d0558
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"aiomysql>=0.2.0",
"async-timeout>=5.0.1",
"azapi>=3.0.8",
"better-ipc",
"click>=8.1.7",
Expand Down
3 changes: 1 addition & 2 deletions utils/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import discord
import wavelink
import async_timeout

from utils.tools import parse_duration

Expand Down Expand Up @@ -43,7 +42,7 @@ async def do_next(self):
try:
self.waiting = True

with async_timeout.timeout(300):
async with asyncio.timeout(300):
track = await self.queue.get_wait()

except asyncio.TimeoutError:
Expand Down

0 comments on commit 76d0558

Please sign in to comment.