Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplediscordbotsjs/discord-music-bot
Simple music bot for Discord server
https://github.com/simplediscordbotsjs/discord-music-bot
bot discord discord-bot discord-js discord-music discord-music-bot discordjs distube distubejs music music-bot nodejs
Last synced: 8 days ago
JSON representation
Simple music bot for Discord server
- Host: GitHub
- URL: https://github.com/simplediscordbotsjs/discord-music-bot
- Owner: SimpleDiscordBotsJS
- License: gpl-3.0
- Created: 2021-12-09T00:48:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T12:01:22.000Z (over 1 year ago)
- Last Synced: 2023-03-04T01:07:39.308Z (over 1 year ago)
- Topics: bot, discord, discord-bot, discord-js, discord-music, discord-music-bot, discordjs, distube, distubejs, music, music-bot, nodejs
- Language: JavaScript
- Homepage:
- Size: 59.4 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Discord-Music-Bot
This is a music bot for your Discord server.Advantages:
- I commented everything out, so it's easy to figure it out
- All setup in one file
- Checking for the server (It is necessary so that when using the bot on several servers, no crashes occur)---
> # Instructions
## Discord Bot:
- [Create application](https://discord.com/developers/applications)
- Add a bot to it (Bot section)
- In the same place where the bot was added, enable "PRESENCE INTENT" and "SERVER MEMBERS INTENT" (Without this, the bot will not work)
- Add a bot to the server (here it is already)## Customizing the Config.json File
```js
{
"BOT_TOKEN": "Enter_discord_bot_token","DEBUG_EVENT": false
}
```
The bot token can be copied in the Bot section of [your application](https://discord.com/developers/applications)## To run locally, you need Node.JS
- [Download Node.JS](https://nodejs.org/en/)## Start
```sh
node .
```---
> ## pm2
>
> Installation pm2
>
>
> ## Install pm2
> ```sh
> npm install --global pm2
> ```
>
> ## Startup
> - [Check this](https://futurestud.io/tutorials/pm2-restart-processes-after-system-reboot)
>
> ## Starting
> ```sh
> pm2 start . --name "Code bot" --watch
> ```
>
> ## Base commands for Neophyte's
> ```sh
> pm2 list - show all process
>
> pm2 stop (id) - stopping process
>
> pm2 logs (. or id) - show logs
> ```
> more in `pm2 -h` or [this](https://pm2.keymetrics.io/docs/usage/quick-start/) and Google 😉
>
> ---
>
> ## If you want to use nodemon and pm2
> - [Check this](https://stackoverflow.com/questions/69457892/nodemon-watch-vs-pm2-watch)
>
>---
> ## Contribution
​
Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before sending an issue or making a pull request.