aboutsummaryrefslogtreecommitdiff
path: root/lib/models/guild/role_t.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-28 10:31:51 -0700
committerAdelyn Breedlove <[email protected]>2019-01-28 10:31:51 -0700
commit8662e92987c437f59d09896a247ec2b5d82c4528 (patch)
treef004cc14598351d4ad6b19d8e993d2f629c5e738 /lib/models/guild/role_t.ml
parentAdd more docs (diff)
downloaddisml-8662e92987c437f59d09896a247ec2b5d82c4528.tar.xz
disml-8662e92987c437f59d09896a247ec2b5d82c4528.zip
Publish docs updates
Diffstat (limited to 'lib/models/guild/role_t.ml')
-rw-r--r--lib/models/guild/role_t.ml52
1 files changed, 26 insertions, 26 deletions
diff --git a/lib/models/guild/role_t.ml b/lib/models/guild/role_t.ml
index f012a15..cc461f3 100644
--- a/lib/models/guild/role_t.ml
+++ b/lib/models/guild/role_t.ml
@@ -1,27 +1,27 @@
-open Core
-
-type role = {
- id: Role_id.t;
- name: string;
- colour: int [@key "color"];
- hoist: bool;
- position: int;
- permissions: int;
- managed: bool;
- mentionable: bool;
-} [@@deriving sexp, yojson { strict = false}]
-
-type t = {
- id: Role_id.t;
- name: string;
- colour: int [@key "color"];
- hoist: bool;
- position: int;
- permissions: int;
- managed: bool;
- mentionable: bool;
- guild_id: Guild_id_t.t;
-} [@@deriving sexp, yojson { strict = false}]
-
-let wrap ~guild_id ({id;name;colour;hoist;position;permissions;managed;mentionable}:role) =
+open Core
+
+type role = {
+ id: Role_id.t;
+ name: string;
+ colour: int [@key "color"];
+ hoist: bool;
+ position: int;
+ permissions: int;
+ managed: bool;
+ mentionable: bool;
+} [@@deriving sexp, yojson { strict = false}]
+
+type t = {
+ id: Role_id.t;
+ name: string;
+ colour: int [@key "color"];
+ hoist: bool;
+ position: int;
+ permissions: int;
+ managed: bool;
+ mentionable: bool;
+ guild_id: Guild_id_t.t;
+} [@@deriving sexp, yojson { strict = false}]
+
+let wrap ~guild_id ({id;name;colour;hoist;position;permissions;managed;mentionable}:role) =
{id;name;colour;hoist;position;permissions;managed;mentionable;guild_id = `Guild_id guild_id} \ No newline at end of file