BDFD_Berk

DBD.JS Music Command Code

Nov 18th, 2020 (edited)
2,084
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. See this: https://youtu.be/N6X85lASe4Y
  2. Join here!: https://discord.gg/GfUYzXnA
  3.  
  4. Join and see the #dbdjs channel, in that server also you can add your bot, test it, talk, get and share BDFD and DBD.JS codes & APIs, join :)
  5.  
  6. ======================================================================================
  7.  
  8. Play code (Obviously it only works for DBD.js, not BDFD, check the description of my video to see a video of how to use DBD.js):
  9.  
  10. bot.command({
  11.         name: "play",
  12.         code: `
  13. $color[00FCFF]
  14. $author[Playing song;https://images.squarespace-cdn.com/content/v1/58eac4d88419c2d993e74f57/1491954929572-MII6RYJO4QRPZHRFNYAM/ke17ZwdGBToddI8pDm48kOyctPanBqSdf7WQMpY1FsRZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpyD4IQ_uEhoqbBUjTJFcqKvko9JlUzuVmtjr1UPhOA5qkTLSJODyitRxw8OQt1oetw/ITunes_12_logo.png]
  15. $description[Currently playing **$songInfo[title]**, the song duration is **$songInfo[duration]** seconds]
  16. $footer[Queue length: $queueLength]
  17. $playSong[$message;Sorry, but i can't play this song]
  18. $onlyIf[$message!=;Type a valid song name!]
  19. $onlyIf[$voiceID!=;You're not in a voice channel]
  20. $onlyIf[$authorID==551786741296791562;]`
  21. })
  22.  
  23. ======================================================================================
  24.  
  25. CURRENT MUSIC FUNCTIONS (This will not be updated, they may add more functions such as $skip soon and this will not be edited):
  26. $playSong
  27. $voiceID
  28. $queue[page;amount;custom queue]
  29. $volume[vol]
  30. $queueLength
  31. $songInfo[duration/userID/title/description/url]
  32. $playSong[url/name;error message]
  33.  
  34. https://discord.gg/GfUYzXnA
Add Comment
Please, Sign In to add comment