From ab3202a6e51531cc1680bc5682d255e1748cd242 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Mon, 30 Dec 2024 16:24:36 -0500 Subject: [PATCH] refactor: ytdlp -> youtubedl --- commands/voice.py | 7 ++++--- ytdlp.py => youtubedl.py | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename ytdlp.py => youtubedl.py (100%) diff --git a/commands/voice.py b/commands/voice.py index 6cda49c..74c0488 100644 --- a/commands/voice.py +++ b/commands/voice.py @@ -1,8 +1,9 @@ import arguments +import youtubedl +from state import client, player_queue + import commands import utils -import ytdlp -from state import client, player_queue async def queue_or_play(message): @@ -34,7 +35,7 @@ async def queue_or_play(message): elif query := args.query: try: async with message.channel.typing(): - player = await ytdlp.YTDLSource.from_url( + player = await youtubedl.YTDLSource.from_url( query, loop=client.loop, stream=True ) except Exception as e: diff --git a/ytdlp.py b/youtubedl.py similarity index 100% rename from ytdlp.py rename to youtubedl.py