blob: 09a51ab99b565490ef27333d6a4f812365f06f76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
open Core
type partial_emoji = {
id: Snowflake.t option [@default None];
name: string;
} [@@deriving sexp, yojson { strict = false; exn = true }]
type t = {
id: Snowflake.t option [@default None];
name: string;
roles: Role_id.t list [@default []];
user: User_t.t option [@default None];
require_colons: bool [@default false];
managed: bool [@default false];
animated: bool [@default false];
} [@@deriving sexp, yojson { strict = false; exn = true }]
|