Skip to content

Discord music bot based on FFMPEG. Can play songs from YouTube, Spotify and from a general query as well.

Notifications You must be signed in to change notification settings

AnveshakR/AnnuBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annu Music

Discord music player with a bit of spice 🌶️🌶️

Prefix for this bot is annu

Now supports slash commands!

Commands

  • play [baja]:Plays song/playlist/album from YT and Spotify
  • irshad [sher]: Get an authentic Annu Malik shayari!
  • queue: Shows the current queue
  • skip [next, agla] <number>: Goes to next song or to the index specified
  • join [connect]: Connects to your voice channel
  • pause [ruk]: Pauses playback
  • resume [chal]: Resumes playback
  • shuffle: Shuffles queue\n
  • clear: Clears queue\n
  • disconnect [nikal, leave]: Disconnect from voice channel
  • fuckoff: Don't do this.
  • help: Shows this message

Example

/play https://www.youtube.com/watch?v=dQw4w9WgXcQ

OR

annu play https://www.youtube.com/watch?v=dQw4w9WgXcQ

Invite link

Invite Annubot to your server with this link.

Don't forget to
Join the Annubot Discord server with this link!

Run it Locally!

  • After cloning this repo, place an .env file in the repo folder to be able to run it locally. The file format should be:
DISCORD_TOKEN = <your discord token>
SPOTIFY_ID = <your spotify client id>
SPOTIFY_SECRET = <your spotify secret>
YT_KEY = <your Youtube API v3 key>
  • You will also need the FFMPEG binary (not the python module) accessible through PATH in your respective OS.
  • annubot.py is the main runfile.

Alternatively

  • You can use the Dockerfile to run annubot locally. You will need the .env file regardless in the same directory as the Dockerfile.
  • Run this code in a terminal:
docker build --no-cache --build-arg KEY=value -t annubot .
docker run -e KEY=value --env-file .env annubot

Jungle ka raja hota hai ek sher, jaldi karo pack up, ho gayi hai der…

About

Discord music bot based on FFMPEG. Can play songs from YouTube, Spotify and from a general query as well.

Topics

Resources

Stars

Watchers

Forks