A complete code to download for a music bot ๐ง
Looking for a code for a music bot ? This fully open source code is made for your project !
If you need help with this project, to get support faster you can join the help server by just clicking here.
If you don't have any JiramDevelopment knowledge, it is recommended to join the Discord support server to get help.
Open the configuration file located in the main folder config.js
.
module.exports = {
app: {
token: 'XXX',
playing: 'by โค๏ธ',
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 JiramDevelopers 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
To use the project correctly you will need some tools.
FFmpeg to process audio
Node JS (v16.6) for environment
Without forgetting of course the code editor ^^
Realized with โค๏ธ by JiramDev.
Please do not withdraw the license and keep the credits on this project.
To have full access to the project and to be able to withdraw the credits a small donation is accepted.
-
lyrics command
-
Vote to skip command https://github.com/JiramDev/Music-bot/issues/187
-
history commnad
-
auto autocomplete (play, search, filters, ect)
-
better button option's
-
more config's for discord player