Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bernardoamorim7/simple-discord-music-bot
A very simple Discord music bot written in TypeScript.
https://github.com/bernardoamorim7/simple-discord-music-bot
bot discord discord-bot discord-js discordbot discordjs javascript music-bot typescript
Last synced: 3 days ago
JSON representation
A very simple Discord music bot written in TypeScript.
- Host: GitHub
- URL: https://github.com/bernardoamorim7/simple-discord-music-bot
- Owner: bernardoamorim7
- License: mit
- Created: 2024-07-14T13:20:29.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T21:53:56.000Z (3 months ago)
- Last Synced: 2024-10-13T02:41:43.383Z (about 1 month ago)
- Topics: bot, discord, discord-bot, discord-js, discordbot, discordjs, javascript, music-bot, typescript
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Discord music bot
A very simple Discord music bot written in TypeScript.
## Features
- Play music from YouTube, SoundCloud, Spotify, and more
- Queue system
- Volume control
- Pause, resume, skip, stop
- Loop, shuffle## Installation
### Using node
Requirements: `Node.js`, `npm`, `ffmpeg`
1. Clone the repository
2. Install dependencies: `npm install`
3. Build and run the project: `npm run start`### Using Docker
1. Clone the repository
2. Build the Docker image: `docker build -t discord-music-bot .`
3. Run the Docker container, passing the bot token as an environment variable: `docker run -d -e BOT_TOKEN=your_bot_token discord-music-bot`## Configuration
Create a `.env` file in the root directory of the project with the following content:
```env
BOT_TOKEN=your_bot_token
```Replace `your_bot_token` with your Discord bot token.
### Changing `responses.json`
Using the `responses.json` file, you can customize the bot's responses.
To edit it using a Docker container, you can enter the container's shell, navigate to `/usr/src/app`, and edit the file using `nano` or `vim`.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.