Skip to content
/ NodeBot Public

multifunctional discord bot coded with node.js framework

License

Notifications You must be signed in to change notification settings

d4niee/NodeBot

Repository files navigation

Getting Started with NodeBot

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/

Requirements and Preparation

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:

npm install

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! 🎉

Available Scripts

In the project root directory, you can run following scripts:

npm run deploy

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.

npm run start

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.

npm run dev

Launches the developer mode.
In this mode you can change the code and it will be updated without restarting the application.

npm run test

Runs the App in the Debug mode for developing and finding Bugs/Errors

About

multifunctional discord bot coded with node.js framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published