Giter Club home page Giter Club logo

gituser12981u2 / musicbotdiscord Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

MusicBotDiscord is an interactive and easy-to-use Discord bot designed to enrich your server's music experience. It allows users to play, control, and manage music from various sources, offering commands for playback, queue management, and more.

License: MIT License

JavaScript 100.00%
bot discord-api discord-bot discordjs javascript music-bot music-bot-discord music-playback nodejs

musicbotdiscord's Introduction

MusicBotDiscord

Overview

MusicBotDiscord is a versatile and user-friendly Discord bot designed to enhance the music listening experience within Discord servers. It allows users to play, control, and enjoy music directly from Discord channels with ease and efficiency.

Features

  • Music Playback: Play music from various sources directly in your Discord server.
  • Control Functions: Includes commands to play, pause, skip, and manage the music queue.
  • Music Commands: Easy-to-use commands for seamless music control.
  • Duration Formatting: Utility to format the duration of tracks.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/gituser12981u2/MusicBotDiscord.git

then

cd MusicBotDiscord
  1. Install dependencies
npm install
  1. Install FFMPEG:
  • macOS:
brew install ffmpeg
  • Windows: Follow the instructions on FFMPEG download page to download the executable and add it to your PATH.

  • Linux:

sudo apt install ffmpeg

Configuration

  1. Copy .env.example to .env:
cp .env.example .env
  1. Add your Discord Bot token to the .env file:
DISCORD_BOT_TOKEN=your_discord_bot_token_here

Running the Bot

  • Start the bot using Node.js:
npm start

Commands

  • !play <url_or_search_term>: Play music from a URL or search for a track.
  • !queue: Shows the current queue.
  • !pause: Pause the current track.
  • !resume: Resume playback.
  • !skip: Skip to the next track in the queue.
  • !disconnect: Stop playback and clear the queue.

Contributing

Contributions to MusicBotDiscord are welcome. If you have suggestions or improvements, feel free to fork the repository and submit a pull request.

musicbotdiscord's People

Contributors

gituser12981u2 avatar

Watchers

 avatar

musicbotdiscord's Issues

Added documentation

Is your feature request related to a problem? Please describe.
Document code better.

Describe the solution you'd like
Add java docs and more comments for easier maintainability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.