![]() 'source_address': '0.0.0.0' # bind to ipv4 since ipv6 addresses cause issues sometimes ![]() Youtube_dl.utils.bug_reports_message = lambda: '' ![]() # Suppress noise about console usage from errors Source = FFmpegPCMAudio("", executable="ffmpeg")Ĭtx.voice_ay(source, after=None) Source = FFmpegPCMAudio(audio.url, **FFMPEG_OPTIONS) # converts the youtube audio source into a source discord can use Song = pafy.new(video_ids) # creates a new pafy objectĪudio = song.getbestaudio() # gets an audio source First import some stuff and set FFmpeg options import pafy from discord import FFmpegPCMAudio, PCMVolumeTransformer FFMPEG_OPTIONS = )", html.read().decode())
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |