diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-13 23:52:45 +0000 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-13 23:52:45 +0000 |
| commit | d95f0342f9cf2280b5d9794ab638c16a59c02a69 (patch) | |
| tree | 191164d198c07cf388d9aae8a54013e5613c272c /lib/role.atd | |
| parent | Merge branch 'dev' into 'master' (diff) | |
| parent | Add deriving sexp to models (diff) | |
| download | disml-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.atd | 22 |
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 |