title | description | tags | ||
---|---|---|---|---|
Nino Bot |
A 24/7 Discord bot For playing music |
|
This starts Nino using discord.js.
- Discord.js@13
- JavaScript
- Capable of Playing In Stage Channels
- Auto-Reconnect if disconnected
- Easy To Understand Code
- Capable Of Looping Songs in a Random Fashion
- Stops Playback When No One In Channel
- Simple Play Command
- Set the Environment Variables
TOKEN
,CHANNEL
,ID_CLIENT
in Heroku settings - Optionally, add
LINKS
,STATUS
,TOPIC
to change the default values
- Clone The Repo
- Install dependencies
npm i
- Set the Environment Variables
TOKEN
,CHANNEL
,ID_CLIENT
- Setup
LINKS
,STATUS
,TOPIC
inconfig.js
- Start Using
npm start
The server started launches a Discord bot with a couple of basic commands. The code is located at src/index.js
.
Requires Discord.js@13 so You need to install it or else it won't run
Use npm i discord.js@dev
To install discord.js@13 if Needed
Environment Variables are to be set by You.You Can also Create a .env File
TOKEN
is the Discord Bot Token.
CHANNEL
is the Discord Channel ID you want To play the Music in. VOICE or STAGE.
ID_CLIENT
is the Application ID.