Skip to content
AnveshakRPublic

About

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

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

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 Apple Music (Spotify support is disabled). To shuffle a playlist, set the shuffle option on /play, or end a prefix command with shuffle (e.g. annu play <playlist link> shuffle). Repeated songs in a playlist (e.g. YouTube mixes) are added once.
  • irshad [sher]: Get an authentic Annu Malik shayari!
  • queue [page]: Shows the queue, 20 songs per page
  • 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 (joins your voice channel if needed, and picks up a song interrupted by auto-leave or a dropped connection)
  • setchannel [#channel]: Admin: only respond in that channel (defaults to the current one)
  • clearchannel: Admin: respond in any channel again
  • 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>          # unused: Spotify support is disabled
SPOTIFY_SECRET = <your spotify secret>         # unused: Spotify support is disabled
YT_KEY = <your Youtube API v3 key>
APPLE_MUSIC_TEAM_ID = <your Apple Developer Team ID>
APPLE_MUSIC_KEY_ID = <your MusicKit Key ID>
APPLE_MUSIC_PRIVATE_KEY_PATH = <path to your MusicKit .p8 private key>
  • Apple Music support requires an Apple Developer account: create a Media ID identifier and a Key with the MusicKit service enabled (Certificates, Identifiers & Profiles → Keys), then download the .p8 file it gives you (one-time download) and point APPLE_MUSIC_PRIVATE_KEY_PATH at it. No app review or extra cost beyond the existing paid Developer Program membership is needed — this is catalog-only (public song/album/playlist lookups), not user-authenticated access.
  • You will also need the FFMPEG binary (not the python module) accessible through PATH in your respective OS.
  • annubot.py is the main runfile.

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

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages