diff --git a/data/config.json b/data/config.json index 0452943..28ce300 100644 --- a/data/config.json +++ b/data/config.json @@ -30,6 +30,8 @@ "min_qty": 0, "max_qty": 10000 } - ] + ], + "shops": [ {"type": "armor", "link": "/ws_abcd"}, + {"type": "off_hand", "link": "/ws_0123"} ] } } \ No newline at end of file diff --git a/def.go b/def.go index 805f66d..23a78e9 100644 --- a/def.go +++ b/def.go @@ -45,6 +45,10 @@ type Config struct { Min int64 `json:"min_qty"` Max int64 `json:"max_qty"` } `json:"vault_limit"` + Shops []struct { + Type string `json:"type"` + Link string `json:"link"` + } `json:"shops"` } `json:"bot"` }