Discord music bot built using djs v13, discord-player. Slash Commands only bot
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 development knowledge, I can't help you.
Open the configuration file located in the root directory config.json
.
{
"botToken": "",
"inviteLink": "",
"supportServer": "https://discord.gg/aj7M84cdT8",
"owners": [],
"errorLogsChannel": "",
"DJ": {
"enabled": false,
"role": "",
"commands": []
}
}
Basic configuration
botToken
, the token of the bot available on the Discord Developers sectioninviteLink
, the invite link that will be used to invite the botsupportServer
, the discord support server linkowners
, an array of bot owner ids, i,e."owners": ["668157292927254587"]
errorLogsChannel
, a Discord text channel id, if you want to log error in discord. Else errors will be logged in console.
DJ mode configuration
DJ/enabled
, whether the DJ mode should be activated or notDJ/role
, the name of the DJ role to be usedDJ/commands
, the list of commands limited to members with the DJ role
To use the project correctly you will need some tools.
NPM (>= v7) to install packages
Node JS (>= v16.6) for environment
step
npm install
node src/index.js
You are not allowed to upload this bot to any service such as discordbotlist or top.gg, you are only allowed to host this bot for your community.
Feel free to open a pull request with a new feature.
Made with ❤️ and JavaScript!
I would not recommend self-hosting the bot on repl.it, Glitch and other public services. If you host your bot in public Glitch.com or repl.it projects, you take a risk, the risk is that in public projects ANYONE can steal your bot TOKEN and hack it, people that steal bot tokens will use your bot to DM advertise users, to raid servers, to scam people with fake things, and to impersonate the bot owner.
If that happens with your bot, YOU have the fault for hosting it on a public project. For those things i recommend hosts like Danbot or other private hosts (except FalixNodes, they sell user data), repl.it and glitch.com projects are easy to steal, anyone can get your token and/or other confidential information.
- Text by @Tegnio