diff --git a/card_view.go b/card_view.go index 3f01dbc..85f0556 100644 --- a/card_view.go +++ b/card_view.go @@ -6,4 +6,5 @@ type CardView struct { Rank int `json:"rank"` ImageURI string `json:"image_uri"` Flavour string `json:"flavour"` + Rules string `json:"rules_text"` } diff --git a/cmd.go b/cmd.go index b2a91b0..a0ca0dc 100644 --- a/cmd.go +++ b/cmd.go @@ -5,10 +5,10 @@ import "fmt" type CmdType string const ( - ActCmd = "a" - StateCmd = "s" - DebugCmd = "d" - InvalidCmd = "e" + ActCmd CmdType = "a" + StateCmd = "s" + DebugCmd = "d" + InvalidCmd = "e" ) type Command struct {