add shops in config
This commit is contained in:
parent
fde45dcf2e
commit
3de816f2c8
@ -30,6 +30,8 @@
|
|||||||
"min_qty": 0,
|
"min_qty": 0,
|
||||||
"max_qty": 10000
|
"max_qty": 10000
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"shops": [ {"type": "armor", "link": "/ws_abcd"},
|
||||||
|
{"type": "off_hand", "link": "/ws_0123"} ]
|
||||||
}
|
}
|
||||||
}
|
}
|
4
def.go
4
def.go
@ -45,6 +45,10 @@ type Config struct {
|
|||||||
Min int64 `json:"min_qty"`
|
Min int64 `json:"min_qty"`
|
||||||
Max int64 `json:"max_qty"`
|
Max int64 `json:"max_qty"`
|
||||||
} `json:"vault_limit"`
|
} `json:"vault_limit"`
|
||||||
|
Shops []struct {
|
||||||
|
Type string `json:"type"`
|
||||||
|
Link string `json:"link"`
|
||||||
|
} `json:"shops"`
|
||||||
} `json:"bot"`
|
} `json:"bot"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user