NodeBot is a mutlifunctional Discord Bot with a music Command to play music from Spotify, Soundcloud and
Youtube in your discord voicechannel.
This bot was created with the node.js javascript framework and the discord.js API
see more:
discord.js: https://discord.js.org/#/
node.js: https://nodejs.org/en/
This Application implements following requirements:
Before you can launch the Applcation you need to install all requirements listed above.To do this just run following command:
after that you have to edit the "configuration.json" file directly in the root folder. Change the following lines to your client id and token.
"token": "TOKEN HERE",
"clientId": "CLIENT ID HERE",
you can find the id and token of your bot on the discord developer portal
(https://discord.com/developers/applications)
now your done! Your application is ready to start! 🎉
In the project root directory, you can run following scripts:
This bot uses the newest feature of discord.js v13 called "slash commands". Because of that we need to register the files in the ./commands folder as valid commands.
Runs the app in the normal mode.
this script combines the normal launch and the deploy of commands.
Changes in the code will have no effect until the client is restarted.
Launches the developer mode.
In this mode you can change the code and it will be updated without
restarting the application.
Runs the App in the Debug mode for developing and finding Bugs/Errors