blob: 52dbaf4400de7f8c1487724a9e706b2474d102de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
open Core
type partial_user = {
id: Snowflake.t;
} [@@deriving sexp, yojson { strict = false}]
type t = {
id: Snowflake.t;
username: string;
discriminator: string;
avatar: string option [@default None];
bot: bool [@default false];
} [@@deriving sexp, yojson { strict = false }]
|