Skip to content

joelczk/Discord-Music-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Music Bot

Introduction

This is a bot created to play songs on the Discord platform. Click here if you would like to learn more about Discord.

Bot Requirements:

  1. FFMPEG
  2. Discord Token
  3. Python3

Setting up the bot:

FFMPEG

  1. Download the FFMPEG file from here, according to your operating system.
  2. Unzip the file to your desired location.

Discord Token

Before creating a discord token, please make sure that you have a working discord account.

If you do not have a DISCORD account, you can sign up for one here.

Follow the guide here on how to set up your own discord token.

Running the bot

  1. Git clone the bot into your desired directory
joelczk@home/<directory-name>:~$ git clone https://github.com/joelczk/Discord-Music-Bot
  1. Install required python modules
joelczk@home/<directory-name>:~$ pip install > requirements.txt
  1. Run the bot
joelczk@home/<directory-name>:~$ python3 music.py
  1. The music bot is now ready to be deployed in Discord

Alternatively, the bot could be hosted on other sites and the bots can be run anytime.

Bot Commands

  • .join: Calls for the bot to enter the voice channel that the user is in
  • .leave: Calls for bot to leave channel that it is currently in
  • .queue: Queue songs for the bot to play
  • .play : Calls for the bot to start playing songs
  • .skip : Calls for the bot to skip the next song in its queued list
  • .clear : Clears all queued songs
  • .list : List all queued songs
  • .stop: Stops songs from playing and clears the queued list

Sources

All songs that are used are streamed and downloaded from Youtube. All credits and acknowledgements for the songs goes to the song creators.

About

Music bot for discord users

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages