You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
431 B

package commands
import (
"fmt"
)
type AddAlias struct {
Match string `json:"match"`
Alias string `json:"alias"`
}
func (c AddAlias) CommandDescription() string {
return fmt.Sprintf("AddAlias(%v, %v)", c.Match, c.Alias)
}
type RemoveAlias struct {
Match string `json:"match"`
Alias string `json:"alias"`
}
func (c RemoveAlias) CommandDescription() string {
return fmt.Sprintf("RemoveAlias(%v, %v)", c.Match, c.Alias)
}