aboutsummaryrefslogtreecommitdiff
path: root/lib/guild.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/guild.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/guild.atd')
-rw-r--r--lib/guild.atd36
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/guild.atd b/lib/guild.atd
deleted file mode 100644
index c290b5f..0000000
--- a/lib/guild.atd
+++ /dev/null
@@ -1,36 +0,0 @@
-type snowflake <ocaml from="Snowflake" t="t"> = abstract
-type user <ocaml from="User" t="t"> = abstract
-type member <ocaml from="Member" t="member"> = abstract
-type role <ocaml from="Role" t="role"> = abstract
-type channel <ocaml from="Channel" t="channel_wrapper"> = abstract
-type emoji <ocaml from="Emoji" t="t"> = abstract
-
-
-type t = {
- id: snowflake;
- name: string;
- ?icon: string option;
- ?splash: string option;
- owner_id: snowflake;
- region: string;
- ?afk_channel_id: snowflake option;
- afk_timeout: int;
- ?embed_enabled: bool option;
- ?embed_channel_id: snowflake option;
- verification_level: int;
- default_message_notifications: int;
- explicit_content_filter: int;
- roles: role list;
- emojis: emoji list;
- features: string list;
- mfa_level: int;
- ?application_id: snowflake option;
- ?widget_enabled: bool option;
- ?widget_channel: channel option;
- ?system_channel: channel option;
- ~large: bool;
- ~unavailable: bool;
- ?member_count: int option;
- ~members: member list;
- ~channels: channel list;
-} \ No newline at end of file