Project music bot Discord🎧
Open the configuration file located in the main folder config.js
.
module.exports = {
app: {
token: 'XXX',
playing: 'by Lelegoyeng ❤️',
global: true,
guild: 'xxx'
},
opt: {
DJ: {
enabled: false,
roleName: 'XXX',
commands: []
},
maxVol: 100,
leaveOnEnd: true,
loopMessage: false,
spotifyBridge: true,
defaultvolume: 75,
discordPlayer: {}
}
};
Basic configuration
app/token
, the token of the bot available on the Discord Developers sectionapp/playing
, the activity of the botapp/global
, whether the commands will work on all servers or just one (if global they might take up to an hour to show up)app/guild
, the guild the slash command will be loaded to (this only applys if global is set to false)
DJ mode configuration
opt/DJ/enabled
, whether the DJ mode should be activated or notopt/DJ/roleName
, the name of the DJ role to be usedopt/DJ/commands
, the list of commands limited to members with the DJ role
Advanced configuration
opt/maxVol
, the maximum volume that users can defineopt/leaveOnEnd
, if the bot will leave on finishing the queueopt/loopMessage
, if the message that a music is played should be sent when it is loopedopt/spotifyBridge
, takes spotify songs/playlists and searches it on youtube and plays it (highly recommended)opt/defaultvolume
, is the defaul volume the queue will start atopt/discordPlayer
, options used by discord-player