Skip to content

someoneudonknow/discord-music-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

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 - A JavaScript runtime environment for server-side development.
  • TypeScript - A statically typed superset of JavaScript that compiles to plain JavaScript.
  • Discord.js v14.15.3 - A powerful JavaScript library for interacting with the Discord API.
  • Discord Player js - A robust framework for developing Discord Music bots using JavaScript and TypeScript.

Getting Started

Installation

  1. Clone the repo

    git clone https://github.com/someoneudonknow/discord-music-bot.git
  2. Install NPM packages

    npm install
  3. Config the bot

    • Create a discord bot and get the required info
    • create and .env file and add these variables
     NODE_ENV=<dev-OR-prod>
    
     DISCORD_TOKEN_DEV=<YOUR-BOT-TOKEN-IN-DEV-MODE>
     DISCORD_CLIENT_ID_DEV=<YOUR-CLIENT-ID-IN-DEV-MODE>
     DISCORD_APP_ID_DEV=<YOUR-APP-ID-IN-DEV-MODE>
    
     DISCORD_TOKEN_PROD=<YOUR-BOT-TOKEN-IN-PRODUTION-MODE>
     DISCORD_CLIENT_ID_PROD=<YOUR-CLIENT-ID-IN-PRODUTION-MODE>
     DISCORD_APP_ID_PROD=<YOUR-CLIENT-ID-IN-PRODUTION-MODE>
  4. Run and build the bot

    npm run dev #for run
    npm run build #for build

Acknowledgments