
Server.dispatcher = ay(ytdl(server. ReferenceError: PREFIX is not defined const ytdl = require("ytdl-core") I keep getting the same error when I try it: Also, the music bot for Discord supports playlists and live streams. Fredboat is a free music bot that can play music from Soundcloud, Bandcamp, Twitch, Spotify, YouTube, and more. and I keep getting an error and I got this code from CodeLyon's video called "Make Your Own Discord Bot | Music Bot (Play, Skip, Stop Commands)" If you are searching for a Discord Bot that can play high-quality music on your Discord Server for free, then look no other than Fredboat. 14:54:44 INFO ayer ffmpeg process 4848 successfully terminated with return code of 0.I wanted to make a music discord bot and I've been having trouble with it for a while. Experience top quality music for free Soul allows you to listen to your favourite music without any second-rate quality Used by more then 400k servers Invite. Chill Anime Community 24/7 Music Bots Find Friends 500+ Epic Emotes Nitro Giveaways Events Chatting Memes. Join servers that share your interests - from gaming, to music, to learning, theres a place for you. 14:53:24 INFO discord.voice_client Voice handshake complete. Discover Discord servers and communities.

14:53:23 INFO discord.voice_client Starting voice handshake. :) Did I forget to mention that its free for personal use The Bot is currently. 14:53:23 INFO discord.voice_client Connecting to voice. The bot comes in two flavors linux and windows, both 64bit.

I've included the full output from the console below.

So there is no error for me to go off of. 14:54:44 IN ayer ffmpeg process 4848 successfully terminated with return code of 0. My play command seems to work as the 1st YT video result will start to play, but roughly 30-90 seconds into the audio, it stops playing. Outside of the required discord library I'm currently using the YouTube API to search for videos and parse the URL (not shown in code), yt-dlp which is a fork of yt_download that is still maintained to get the info from the YT URL, and FFMPEG to play the song obtained from yt-dlp through the bot. I am trying to put together a Python Discord music bot as a fun little project.
