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
var linkCmd = &cobra.Command{
Use: "link",
Short: "Print link to currently playing song",
Long: `Print link to currently playing song`,
Use: "link",
Aliases: []string{"yy"},
Short: "Print link to currently playing song",
Long: `Print link to currently playing song`,
Run: func(cmd *cobra.Command, args []string) {
link, err := commands.Link(ctx, client)
if err != nil {

View File

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