Coder Social home page Coder Social logo

discord-music-bot's Introduction

Cherry DJ - Discord Music Bot

Music bot for discord voice chat rooms!

Here is a list with the current commands and functionalities:

    !play
    Plays or adds selected music to the queue. 

    !queue 
    Displays the queue.  

    !clear 
    Clears all the tracks from the queue.

    !pause 
    Pauses current playing track. 

    !resume 
    Resumes current paused track. 

    !skip 
    Skips current track.    

    !replay 
    Requeues any number of previously played tracks. 

    !history 
    Displays all the previously AND currently queued tracks.

    !leave 
    Kicks the bot out of the voice channel. 

How to run this bot from your server/PC:

Before anything else, you need to set up your bot in your own discord developer portal. I am not providing this bot as a service. I am only providing this code. After you set up your bot, copy your TOKEN into the Dockerfile of your clone of the repo, and follow these instructions:

Option 1:

Dependencies:

Python 3.8+: https://www.python.org/downloads/ (windows)

    apt install python3 python3-pip   (linux)

FFMpeg : https://www.ffmpeg.org/download.html (windows)

    apt install ffmpeg     (linux)

After installing python, and adding pip to your environment variables, run these commands:

FFMpeg:

     pip install ffmpeg

yt_dlp :

    pip install yt_dlp

Discord.py (PIP):

    pip install discord.py

PyNaCl :

    pip install PyNaCl

After all is installed, run "cherry-mc.py".

Option 2

Run it with Docker!

Inside the repository, run:

    docker build -t acerola .
    docker run -d --name cherry acerola:latest 

and the bot should come online.

discord-music-bot's People

Watchers

Paulo de Souza avatar

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.