xypnox / funky

A non-commercial discord music bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

Funky

A Discord bot for music.

Commands

  • /wakeup: Wakes up the bot which adds itself to your current voice channel
  • /sleep: Opposite of wakeup
  • /play <song_title>: Searches the song on youtube, then streams it to the voice channel it is added to
  • /pause: Pauses the current song
  • /resume: Resume the paused song
  • /stop: Stops the current song

Setup

Currently the app is not available publicly. So in order to add it to your server, clone or fork-clone this repo. Then follow this link to create a bot. Use the Scopes and Bot permissions as seen in these screenshots:

Scopes

Bot Permission

Add this bot to your server (technically called a Guild).

Get the token and clientId of the app and get the guildId of your server. If you enable Advanced mode in your Discord settings, right clicking on the server and the bot icon will give you the option to copy the id.

Switch to a new branch in this repo. Do not push this branch to Github. Create a file called config.json with the following contents:

{
    "token": "<bot's token from app developer page>",
    "clientId": "<copy Id from the bot icon on your server page>",
    "guildId": "<copy Id from the server icon>"
}

Deploy this new branch on Heroku.

Add the following buildpacks (in this order) and then redeploy for correct operation:

https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
jontewks/puppeteer

Logo taken from clipart-library

About

A non-commercial discord music bot

License:GNU Lesser General Public License v2.1


Languages

Language:JavaScript 100.0%