further add config

This commit is contained in:
shoopea 2020-02-10 16:44:05 +08:00
parent 58a4cf633b
commit dcc358d823

3
def.go
View File

@ -80,6 +80,9 @@ type MQClient struct {
type ChirpConfig struct { type ChirpConfig struct {
InterceptPillage bool `json:"intercept_pillage"` InterceptPillage bool `json:"intercept_pillage"`
AutoDeposit bool `json:"auto_deposit"`
AutoDepositItems []string `json:"auto_deposit_items"`
AutoDepositTypes []string `json:"auto_deposit_types"`
} }
type ChirpClient struct { type ChirpClient struct {