You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
9 months ago | |
---|---|---|
.gitignore | 9 months ago | |
README.md | 9 months ago | |
bot.js | 9 months ago |
README.md
CoSinger-JS
A music Discord bot written in discord.js.
Installation
Install node.js:
Windows: https://nodejs.org/en/download/.
Linux: https://nodejs.org/en/download/package-manager/.
Install dependencies:
npm i discord.js
npm i sodium
npm i ytdl-core
You also need to install ffmpeg:
Windows: https://ffmpeg.org/download.html#build-windows. Just copy all .exe files to project directory.
Linux: npm install ffmpeg
.
Then create new bot in https://discord.com/developers/applications and paste token to config file.
Config
{
"prefix": "<prefix>",
"token": "<token>"
}
Run
node bot.js