Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/someoneudonknow/discord-music-bot
https://github.com/someoneudonknow/discord-music-bot
discord discord-bot discord-js discord-js-v14 discord-music-bot discordapp discordjs-voice discordplayer javascript nodejs typescript
Last synced: about 1 hour ago
JSON representation
- Host: GitHub
- URL: https://github.com/someoneudonknow/discord-music-bot
- Owner: someoneudonknow
- Created: 2024-08-22T06:46:43.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T03:36:57.000Z (2 months ago)
- Last Synced: 2024-10-19T06:33:06.453Z (29 days ago)
- Topics: discord, discord-bot, discord-js, discord-js-v14, discord-music-bot, discordapp, discordjs-voice, discordplayer, javascript, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 755 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
Awesome Lists containing this project
README
Simple Discord Music Bot
## About The Project
This features rich discord music bot is designed to provide a simple and straightforward way to play music in your Discord server. It includes a set of basic commands to help you queue, play, and control the music playback.
### Key Features
1. **Clean**: Clean all the bot messages.
2. **Invite**: Invite the bot to your server.
3. **Ping**: Use this command for testing the bot's response.
4. **8D**: Toggle the 8D vocal filter.
5. **Back**: Play the previous track.
6. **Clear**: Remove all tracks from the queue (without stopping the current track).
7. **Jump**: Jump to a track at a specific position in the queue.
8. **List**: List all track information in the queue.
9. **Lyrics**: Get lyrics for the current song.
10. **Pause**: Pause the current playing song.
11. **Play**: Play and enqueue a track from a given URL or search keyword.
12. **Remove**: Remove a track from a given position in the queue.
13. **Replay**: Replay the current track.
14. **Resume**: Resume the paused song.
15. **Seek**: Seek the player to a specific timestamp.
16. **Shuffle**: Toggle shuffle mode for the queue.
17. **Skip**: Skip the current playing song.
18. **Skipto**: Skip to a specific position in the queue.
19. **Stop**: Stop the player.
20. **Vocalboost**: Toggle the vocal boost filter.
21. **Help**: See all commands info### Built With
- [Node.js](https://nodejs.org/en) - A JavaScript runtime environment for server-side development.
- [TypeScript](https://www.typescriptlang.org/) - A statically typed superset of JavaScript that compiles to plain JavaScript.
- [Discord.js v14.15.3](https://discord.js.org/docs/packages/discord.js/14.15.3) - A powerful JavaScript library for interacting with the Discord API.
- [Discord Player js](https://discord-player.js.org/) - A robust framework for developing Discord Music bots using JavaScript and TypeScript.## Getting Started
### Installation
1. Clone the repo
```sh
git clone https://github.com/someoneudonknow/discord-music-bot.git
```
2. Install NPM packages
```sh
npm install
```
3. Config the bot- Create a discord bot and get the required info
- create and .env file and add these variables```sh
NODE_ENV=DISCORD_TOKEN_DEV=
DISCORD_CLIENT_ID_DEV=
DISCORD_APP_ID_DEV=DISCORD_TOKEN_PROD=
DISCORD_CLIENT_ID_PROD=
DISCORD_APP_ID_PROD=
```4. Run and build the bot
```sh
npm run dev #for run
npm run build #for build
```## Acknowledgments
- [Discordjs guide](https://discordjs.guide/)
- [Discordjs v14.15.3 docs](https://discord.js.org/docs/packages/discord.js/14.15.3)
- [Discord player js](https://discord-player.js.org/)
- [Typescript handbook](https://www.typescriptlang.org/docs/handbook/intro.html)