Skip to content

Commit

Permalink
Version 7.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pooriyayt committed Jun 27, 2023
1 parent ab33ceb commit 353a1b7
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions voice/onTrackStart.js
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
module.exports = {
type: "trackStart",
channel: "$channelID",
code: `
$setGuildVar[music_channelID;$channelID]
$setGuildVar[music_player;$get[id]]
$wait[2s]
$let[id;$sendMessage[{newEmbed:{author:Now Playing}{title:$songInfo[title]}{description: $songInfo[description]}{description:
> 🎵 **Artist:** **$songInfo[artist]**
type: "trackStart",
channel: "$channelID",
code: `
$setGuildVar[music_channelID;$channelID]
$setGuildVar[music_player;$get[id]]
$wait[2s]
$let[id;$sendMessage[{newEmbed:{author:Now Playing}{title:$songInfo[title]}{description: $songInfo[description]}{description:
> 🎵 **Duration:** **$replaceText[$digitalformat[$songInfo[duration]];00:0;;1]**
> 🎵 **Artist:** **$songInfo[artist]**
> 🎵 **Volume:** **$volume**
> 🎵 **Url:** $songInfo[url]
> 🎵 **Requested By:** $songInfo[requester]
> 🎵 **Veiws:** **$songInfo[views]**
> 🎵 **Platform:** **$songInfo[formatedPlatforms]**
}{image:$songInfo[thumbnail]}{color:$getVar[color]}}
{actionRow:
{button:Previous:primary:previous:false:$customEmoji[$getVar[music2_emoji]]}
{button:Next:primary:skip:false:$customEmoji[$getVar[music2_emoji]]}
}
{actionRow:
{button:Loop:secondary:loop:false:$customEmoji[$getVar[music2_emoji]]}
{button:Pause&Play:secondary:play_pause:false:$customEmoji[$getVar[music2_emoji]]}}
{actionRow:
{button:Auto Play:danger:auto:false:$customEmoji[$getVar[music_emoji]]}
{button:Stop:danger:stop:false:$customEmoji[$getVar[no_emoji]]}}
{actionRow:
{button:Volume Down:success:volume-down:false:$customEmoji[$getVar[vl_up_emoji]]}
{button:Volume Up:success:volume-up:false:$customEmoji[$getVar[vl_down_emoji]]}};true]]
$suppressErrors
$volume[$getVar[volume]]
$setUserVar[play_pause;none;$authorID]
$wait[4s]
`
}
> 🎵 **Duration:** **$replaceText[$digitalformat[$songInfo[duration]];00:0;;1]**
> 🎵 **Volume:** **$volume**
> 🎵 **Url:** $songInfo[url]
> 🎵 **Requested By:** $songInfo[requester]
> 🎵 **Veiws:** **$songInfo[views]**
> 🎵 **Platform:** **$songInfo[formatedPlatforms]**
}{image:$songInfo[thumbnail]}{color:$getVar[color]}}
{actionRow:
{button:Previous:primary:previous:false}
{button:Next:primary:skip:false}
}
{actionRow:
{button:Loop:secondary:loop:false}
{button:Pause&Play:secondary:play_pause:false}}
{actionRow:
{button:Auto Play:danger:auto:false}
{button:Stop:danger:stop:false}}
{actionRow:
{button:Volume Down:success:volume-down:false}
{button:Volume Up:success:volume-up:false}};true]]
$suppressErrors
$volume[$getVar[volume]]
$setUserVar[play_pause;none;$authorID]
$wait[4s]
`
}

0 comments on commit 353a1b7

Please sign in to comment.