Skip to content

Commit 563cd4e

Browse files
committed
fix music player buttons
1 parent d72ad66 commit 563cd4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dbot/commands/music_utils.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import (
1313

1414
func 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
}

0 commit comments

Comments
 (0)