Self.url = def from_url(cls, url, *, loop=None, stream=False):ĭata = await n_in_executor(None, lambda: ytdl.extract_info(url, download=False))įilename = data if stream else ytdl.prepare_filename(data) ![]() Ytdl = youtube_dl.YoutubeDL(ytdl_format_options)Ĭlass YTDLSource(discord.PCMVolumeTransformer):ĭef _init_(self, source, *, data, volume = 0.5): Youtube_dl.utils.bug_reports_message = lambda: '' This is the code i used from a tutorial import discordīot = commands.Bot(command_prefix="!", intents=intents) ![]() In my discord channel says that "The bot is not connected to a voice channel and can't play the song.", but he IS in the channel with me. !play bones imagine dragons) it appears an error: ERROR: Unable to extract uploader id. ![]() I just started learning python and wanted to do a discord music bot, the problem is that he is online, he can join my channel, but when i request a song (es.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |