Files
Server/commands/assign.go
T
2022-08-18 22:46:38 +02:00

16 lines
308 B
Go

package commands
import (
"fmt"
lucifer3 "git.aiterp.net/lucifer3/server"
)
type Assign struct {
Match string `json:"match"`
Effect lucifer3.Effect `json:"effect"`
}
func (c Assign) CommandDescription() string {
return fmt.Sprintf("Assign(%s, %s)", c.Match, c.Effect.EffectDescription())
}