summaryrefslogtreecommitdiff
path: root/shrine/types/council/request.go
blob: 2279afdde1f16d589e1085c7225e624afc2ad3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package council

type BanRequest struct {
	Reason  string `json:"reason"`
	Message string `json:"message"`
}

type DisableRequest struct {
	Reason        string  `json:"reason"`
	Message       string  `json:"message"`
	DisabledUntil *string `json:"disabled_until"`
}

type EditUserRequest struct {
	Username    *string `json:"username"`
	DisplayName *string `json:"display_name"`
	Email       *string `json:"email"`
	Bio         *string `json:"bio"`
	Birthday    *string `json:"birthday"`
	AvatarURL   *string `json:"avatar_url"`
	BlinkieURL  *string `json:"blinkie_url"`
	Website     *string `json:"website"`
	Location    *string `json:"location"`
	Pronouns    *string `json:"pronouns"`
	Signature   *string `json:"signature"`
	Jade        *uint64 `json:"jade"`
	Honor       *uint64 `json:"honor"`
}

type ChangeRoleRequest struct {
	Role string `json:"role"`
}