package commands import ( "fmt" "git.aiterp.net/lucifer3/server/internal/formattools" ) type SetName struct { ID string Name string } func (c SetName) CommandDescription() string { return fmt.Sprintf("SetName(%v, %s)", c.ID, c.Name) } type AddTag struct { IDs []string Tag string } func (c AddTag) CommandDescription() string { return fmt.Sprintf("AddTag(%v, %s)", formattools.CompactIDList(c.IDs), c.Tag) } type RemoveTag struct { IDs []string Tag string } func (c RemoveTag) CommandDescription() string { return fmt.Sprintf("RemoveTag(%v, %s)", formattools.CompactIDList(c.IDs), c.Tag) }