package commands import ( "fmt" "git.aiterp.net/lucifer3/server/internal/formattools" ) type ReplaceScene struct { IDs []string `json:"ids"` SceneID int64 `json:"sceneId"` } func (c ReplaceScene) CommandDescription() string { return fmt.Sprintf("ReplaceScene(%v, %d)", formattools.CompactIDList(c.IDs), c.SceneID) } type ClearScene struct { IDs []string `json:"ids"` } func (c ClearScene) CommandDescription() string { return fmt.Sprintf("ClearScene(%v)", formattools.CompactIDList(c.IDs)) }