File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ import (
1313
1414func getMusicControllerComponents (track lavalink.AudioTrack ) discord.ContainerComponent {
1515 buttons := discord.ActionRowComponent {
16- discord .NewPrimaryButton ("" , "now-playing :previous" ).WithEmoji (discord.ComponentEmoji {Name : "⏮" }),
17- discord .NewPrimaryButton ("" , "now-playing :play-pause" ).WithEmoji (discord.ComponentEmoji {Name : "⏯" }),
18- discord .NewPrimaryButton ("" , "now-playing :next" ).WithEmoji (discord.ComponentEmoji {Name : "⏭" }),
16+ discord .NewPrimaryButton ("" , "handler :previous" ).WithEmoji (discord.ComponentEmoji {Name : "⏮" }),
17+ discord .NewPrimaryButton ("" , "handler :play-pause" ).WithEmoji (discord.ComponentEmoji {Name : "⏯" }),
18+ discord .NewPrimaryButton ("" , "handler :next" ).WithEmoji (discord.ComponentEmoji {Name : "⏭" }),
1919 }
2020 if track != nil {
21- buttons = buttons .AddComponents (discord .NewPrimaryButton ("" , "now-playing :like" ).WithEmoji (discord.ComponentEmoji {Name : "❤" }))
21+ buttons = buttons .AddComponents (discord .NewPrimaryButton ("" , "handler :like" ).WithEmoji (discord.ComponentEmoji {Name : "❤" }))
2222 }
2323 return buttons
2424}
You can’t perform that action at this time.
0 commit comments