aboutsummaryrefslogtreecommitdiff
path: root/lib/role.atd
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-13 23:52:45 +0000
committerAdelyn Breedlove <[email protected]>2019-01-13 23:52:45 +0000
commitd95f0342f9cf2280b5d9794ab638c16a59c02a69 (patch)
tree191164d198c07cf388d9aae8a54013e5613c272c /lib/role.atd
parentMerge branch 'dev' into 'master' (diff)
parentAdd deriving sexp to models (diff)
downloaddisml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.tar.xz
disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.zip
Merge branch 'switch-to-deriving_yojson' into 'master'
Switch to deriving yojson See merge request Mishio595/disml!12
Diffstat (limited to 'lib/role.atd')
-rw-r--r--lib/role.atd22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/role.atd b/lib/role.atd
deleted file mode 100644
index d442a92..0000000
--- a/lib/role.atd
+++ /dev/null
@@ -1,22 +0,0 @@
-type snowflake <ocaml from="Snowflake" t="t"> = abstract
-
-type role = {
- id: snowflake;
- name: string;
- colour <json name="color">: int;
- hoist: bool;
- position: int;
- permissions: int;
- managed: bool;
- mentionable: bool;
-}
-
-type role_update = {
- role: role;
- guild_id: snowflake;
-}
-
-type t = {
- inherit role;
- guild_id: snowflake;
- } \ No newline at end of file