aboutsummaryrefslogtreecommitdiff
path: root/lib/models/gen/role_t.ml
blob: 095415648d48f49998c509a57e51a1d5a2911d92 (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
25
26
27
28
29
(* Auto-generated from "role.atd" *)
              [@@@ocaml.warning "-27-32-35-39"]

type snowflake = Snowflake_t.t

type t = {
  id: snowflake;
  name: string;
  colour: int;
  hoist: bool;
  position: int;
  permissions: int;
  managed: bool;
  mentionable: bool;
  guild_id: snowflake
}

type role = {
  id: snowflake;
  name: string;
  colour: int;
  hoist: bool;
  position: int;
  permissions: int;
  managed: bool;
  mentionable: bool
}

type role_update = { role: role; id: snowflake }