mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
Added source_address in Audio, fixed typo in Trivia
source_address should fix the "Too many requests" issue with certain hosts
This commit is contained in:
@@ -36,6 +36,7 @@ else:
|
||||
opus = True
|
||||
|
||||
youtube_dl_options = {
|
||||
'source_address': '0.0.0.0',
|
||||
'format': 'bestaudio/best',
|
||||
'extractaudio': True,
|
||||
'audioformat': "mp3",
|
||||
@@ -463,7 +464,7 @@ class Audio:
|
||||
|
||||
# TODO: _enable_controls()
|
||||
|
||||
# returns list of active voice channels
|
||||
# returns list of active voice channels
|
||||
# assuming list does not change during the execution of this function
|
||||
# if that happens, blame asyncio.
|
||||
def _get_active_voice_clients(self):
|
||||
|
||||
Reference in New Issue
Block a user