Discord music player with a bit of spice 🌶️🌶️
Prefix for this bot is annu
Now supports slash commands!
play [baja]:Plays song/playlist/album from YT and Apple Music (Spotify support is disabled). To shuffle a playlist, set theshuffleoption on/play, or end a prefix command withshuffle(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 pageskip [next, agla] <number>:Goes to next song or to the index specifiedjoin [connect]:Connects to your voice channelpause [ruk]:Pauses playbackresume [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 againshuffle: Shuffles queue\nclear: Clears queue\ndisconnect [nikal, leave]:Disconnect from voice channelfuckoff:Don't do this.help:Shows this message
/play https://www.youtube.com/watch?v=dQw4w9WgXcQ
OR
annu play https://www.youtube.com/watch?v=dQw4w9WgXcQ
Invite Annubot to your server with this link.
Don't forget to
Join the Annubot Discord server with this link!
- 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
.p8file it gives you (one-time download) and pointAPPLE_MUSIC_PRIVATE_KEY_PATHat 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…
