aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/music
diff options
context:
space:
mode:
authorSamlon <stankiewiczgracjan2019@gmail.com>2025-08-20 20:25:13 +0200
committerSamlon <stankiewiczgracjan2019@gmail.com>2025-08-20 20:25:13 +0200
commitc09406cb90baca52ae7b2a800bd459cd9a26f3d4 (patch)
tree7f2a96e463ab83b56ec312494d578394f9e5a5ba /cogs/music
parentimproved downloader.py (diff)
downloadsenator-sperma-c09406cb90baca52ae7b2a800bd459cd9a26f3d4.tar.gz
senator-sperma-c09406cb90baca52ae7b2a800bd459cd9a26f3d4.zip
play.py fixing
Diffstat (limited to '')
-rw-r--r--cogs/music/play.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/cogs/music/play.py b/cogs/music/play.py
index 2314545..f18afa8 100644
--- a/cogs/music/play.py
+++ b/cogs/music/play.py
@@ -14,17 +14,10 @@ class Play(commands.Cog):
14 def __init__(self, bot): 14 def __init__(self, bot):
15 self.bot = bot 15 self.bot = bot
16 self.ydl_opts = { 16 self.ydl_opts = {
17 'format': 'bestaudio/best', 17 'extract_audio': True,
18 'postprocessors': [{
19 'key': 'FFmpegExtractAudio',
20 'preferredcodec': 'mp3',
21 'preferredquality': '192',
22 }],
23 'noplaylist': True, 18 'noplaylist': True,
24 'quiet': True, 19 'quiet': True,
25 'no_warnings': True,
26 'default_search': 'auto', 20 'default_search': 'auto',
27 'source_address': '0.0.0.0',
28 } 21 }
29 22
30 async def play_audio(self, ctx, vc, url, title): 23 async def play_audio(self, ctx, vc, url, title):