Simple Music Autocode App
This app allows you to play audio tracks in the Discord voice channel that you are currently in:
Also, this bot includes queuing features. If there is currently a song being played when the play command is ran then it will automatically be put into the queue:
Other cool features that this app includes are:
- Ability to save favourite songs. (View, Add, & Remove songs from list)
- Ability to get lyrics of some songs.
- Loop & Unloop songs.
- More to come! Stay tuned!
The only required setup is to make a prefix, you can set this when you install this app or after you install the app in the environment variable's. The prefix will be used for when you call your commands.
Now you are all set, there is nothing else you have to do for the bot to work!
All commands are shown with
! as a prefix, but you can set whatever you'd like
during setup or afterwards by modifying the
PREFIX environment variable.
!music-info: Shows you this list of music commands.
!play/p <name or link>: Play the YouTube Song
!force-play/fp <name or link>: Plays a YouTube song right away, even if there is a song currently playing.
!pause: Pause the currently playing track
!summon: Adds the bot to the VC.
!disconnect: Disconnect the bot from the voice channel
!nowplaying: Retrieve the current track and queued tracks
!lyrics <song>: Retrieve the lyrics for a song that have under 200 words. (Due to discord limitations)
!skip: Skip currently playing track and play the next track in the queue
!clearqueue: Clear the current queue
!loop: Loops the current track until unmuted.
!unloop: unloops all tracks.
!save: saves a song to your favorites. Use this command when a song is being played in VC and you want to save it.
!unsave <name>: Removes a song from your favorites.
!list: Show's you a list of all your saved songs.
Queued tracks automatically play when the last track finishes. Loop songs automatically repeat at the end of the song, to un loop a song say
Every time someone joins a VC the user ID is stored, when they leave the VC the ID is cleared. If a user uses the
loop command then leaves it will automatically be un-looped.
Any questions feel free to message me on discord: 𝐃𝐚𝐌𝐲𝐬𝐭𝐢𝐜𝐒𝐤𝐲𝐥𝐞𝐫#4247
This app uses the ytdl-core npm package
to download from YouTube, which is frequently updated as YouTube makes changes.
If your bot has issues downloading a particular track, try again later or check
for an updated version of the dependency.
If you still can't figure it out then join the support discord: Autocode Official Discord
This is where you will be able to see what is new with the app, starting with update
1.1.11 Each date is formated as (MM/DD/YY).
1.1.11 | 9/12/21 : Updated
help.js, Changed so it says the name of the server when you run the command. | updated
play.js, made it so it says "Your song has been added" when there is a queue.
1.1.12 | 9/12/21 : Updated
lyrics.js changed the command line(s), made it startswith and not toLowercase. Those commands should work now (Lyrics & Unsave)
1.2.1 | 9/13/21 : Updated
README.md & app was approved by Jacoblee! He said "Better than mine haha", he enjoyed this app. LMK if you catch him using it instead of his HAHA!!
If you have any questions or feedback, please join our community Discord
If you have questions directly on this app feel free to contact:
@𝐃𝐚𝐌𝐲𝐬𝐭𝐢𝐜𝐒𝐤𝐲𝐥𝐞𝐫#4247 on discord.
I would like to thank Jacoblee and all the support I have received from Autocode support server! I could not have done all these features if it were not for you. Half of the stuff in this app is from Jacoblee I am not claiming this all as my own, I have just tweaked a lot of the code to make it easier for users to use in their servers! If you would like to create apps like this then create an account free today: Join Autocode!