This commit is contained in:
shoopea 2020-01-16 15:48:41 +08:00
parent d296513065
commit ae3a5ba725

4
def.go
View File

@ -75,9 +75,9 @@ type MQClient struct {
type ChirpClient struct { type ChirpClient struct {
HeartBeat time.Time `json:"heart_beat"` HeartBeat time.Time `json:"heart_beat"`
Login string `json:"nickname"` Login string `json:"nickname"`
Active bool Active bool `json:"active"`
TGUserID64 int64 `json:"tg_user_id"` TGUserID64 int64 `json:"tg_user_id"`
MQ MQClient `json:"mq_client"` MQ MQClient
CWUserID64 int64 `json:"user_id"` CWUserID64 int64 `json:"user_id"`
CWGuildID64 int64 `json:"guild_id"` CWGuildID64 int64 `json:"guild_id"`
CWRole string `json:"role"` CWRole string `json:"role"`