From c99b7519197f479651ac4347621ceaf9f2d5389e Mon Sep 17 00:00:00 2001 From: robrotheram Date: Sun, 14 Apr 2024 19:37:00 +0000 Subject: [PATCH] Change player to now-playing and controll --- pkg/discord/commands/infoCmd.go | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkg/discord/commands/infoCmd.go b/pkg/discord/commands/infoCmd.go index 2ed624e..7ebb392 100644 --- a/pkg/discord/commands/infoCmd.go +++ b/pkg/discord/commands/infoCmd.go @@ -11,7 +11,20 @@ import ( func init() { register( Command{ - Name: "player", + Name: "controls", + ApplicationCommand: []discordgo.ApplicationCommand{ + { + Type: discordgo.UserApplicationCommand, + }, + { + Description: "show player controls", + Type: discordgo.ChatApplicationCommand, + }, + }, + Function: controlscmd, + }, + Command{ + Name: "now-playing", ApplicationCommand: []discordgo.ApplicationCommand{ { Type: discordgo.UserApplicationCommand,