This commit is contained in:
abs3nt 2023-01-13 23:08:36 -08:00
parent 874712bbb2
commit 3a982468de
2 changed files with 8 additions and 6 deletions

View File

@ -11,9 +11,10 @@ import (
// linkCmd represents the link command // linkCmd represents the link command
var linkCmd = &cobra.Command{ var linkCmd = &cobra.Command{
Use: "link", Use: "link",
Short: "Print link to currently playing song", Aliases: []string{"yy"},
Long: `Print link to currently playing song`, Short: "Print link to currently playing song",
Long: `Print link to currently playing song`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
link, err := commands.Link(ctx, client) link, err := commands.Link(ctx, client)
if err != nil { if err != nil {

View File

@ -11,9 +11,10 @@ func init() {
} }
var unlikeCmd = &cobra.Command{ var unlikeCmd = &cobra.Command{
Use: "unlike", Use: "unlike",
Short: "unlikes song", Aliases: []string{"u"},
Long: `unlikes song`, Short: "unlikes song",
Long: `unlikes song`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
commands.Unlike(ctx, client) commands.Unlike(ctx, client)
}, },