v5.0.0
$playSong
Plays a song in VC
This function play's a song from youtube.
This function has 5 fields:
1
$playSong[song;time to leave vc after song is done;defean (yes/no);leave vc when empty (yes/no);error]
Copied!
  1. 1.
    Name of the song (Required)
  2. 2.
    Time before leaving vc (When queue empty) (Optional)
  3. 3.
    Deaf (yes/no) (Optional)
  4. 4.
    Leave VC when it's empty (yes/no) (Optional)
  5. 5.
    Error (Optional)
Raw usage: $playSong[song;time;deaf;leave vc when it's empty (yes/no);error]
Example:
1
bot.command({
2
name: "play",
3
code: `$playSong[The Nights;1m;yes;yes;:x: Could not play song!]`
4
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub