blob: 99517b8ce51871fc384b59e17e3e12320f3c5485 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
type role = {
id: Role_id.t;
name: string;
colour: int;
hoist: bool;
position: int;
permissions: int;
managed: bool;
mentionable: bool;
} [@@deriving sexp, yojson]
type t = {
id: Role_id.t;
name: string;
colour: int;
hoist: bool;
position: int;
permissions: int;
managed: bool;
mentionable: bool;
guild_id: Guild_id_t.t;
} [@@deriving sexp, yojson]
val wrap : guild_id:Snowflake.t -> role -> t
|