refactor: ytdlp -> youtubedl

This commit is contained in:
Ryan 2024-12-30 16:24:36 -05:00
parent e4af64fa99
commit ab3202a6e5
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3
2 changed files with 4 additions and 3 deletions

View File

@ -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: