

What makes Aiode one of the best Discord music bots is that it is completely free. If you want to watch Twitch streams with your friends, Aiode also lets you play Twitch streams directly in your voice channel. Aiode also lets you customize the bot invoke command. It also supports other music sources such as YouTube and Soundcloud.Īiode allows you to create custom cross-platform playlists with songs from Spotify, YouTube, and Soundcloud. The music bot can directly search for songs in Spotify and play them.

FredBoat also doesn’t require you to use links, you can just input the name of the song and FredBoat will play it for you.įredBoat also allows you to create playlists, which automatically plays the next song once the current one ends instead of you having to manually play a different song each time. It can be used to play music from YouTube, Bandcamp, Soundcloud, Twitch and more. How to add Music bots to your Discord server?įredBoat is one of the best discord music bots which supports a number of different websites.( I think that I am supposed to define the first "const" variable with the Name "Discord" but when I try to do this I am greeted with the same errors )Įdit: I forgot to mention before that before this I had to add (steal) code to the first line to allow me to add intents when creating a new client, as in older versions you previously didn't need to add intents here, yet my code would not function without it in discord.js version 13. My code will be put below this and I'm really sorry if it's a dumb/obvious fix, thank you so much for reading! const ) I have changed my code according to comments from people also struggling when using a more updated version of discord.js and node.js, but so far have found no fix. On the final line (line 5), when I try to input new Discord.Collection() I am given the ReferenceError: Discord is not defined, and yet when I remove "Discord." from the line, I am given the ReferenceError: Collection is not defined.

Their code: const Discord = require('discord.js') I am new to discord.js and have been following a youtube tutorial (linked here: ) that uses an outdated version of discord.js (something that has given me some problems)
