refactor: use aiohttp for requests

This commit is contained in:
2025-01-22 14:49:29 -05:00
parent 640e750e3d
commit 8ef4c85bd8
3 changed files with 15 additions and 10 deletions

View File

@@ -115,7 +115,9 @@ async def fast_forward(message):
seconds = args.seconds
if args.sponsorblock:
video = sponsorblock.get_segments(players[message.guild.id].current.player.id)
video = await sponsorblock.get_segments(
players[message.guild.id].current.player.id
)
if not video:
await utils.reply(
message, "no sponsorblock segments were found for this video!"