From d342c4cf9fe907d2107cd815f9988f8ad147218b Mon Sep 17 00:00:00 2001 From: Mishio595 Date: Sat, 24 Nov 2018 09:51:03 -0700 Subject: Major structural changes --- dune | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dune') diff --git a/dune b/dune index 2b4861d..a1ec69e 100644 --- a/dune +++ b/dune @@ -1,14 +1,14 @@ (library (name disml) - (modules endpoints http client sharder opcode) + (modules endpoints http client sharder opcode model s message guild channel) (libraries core async_ssl cohttp-async yojson websocket-async zlib) ) ; Test executable (executable - (name bot) + (name bot) (modules bot) - (libraries core async disml) + (libraries core async_ssl disml) ) -(include_subdirs unqualified) \ No newline at end of file +(include_subdirs unqualified) -- cgit v1.2.3 From 011e3224c0292dfcb0024daf474d4ef1e00b82f0 Mon Sep 17 00:00:00 2001 From: Mishio595 Date: Sun, 25 Nov 2018 16:02:37 -0700 Subject: A lot is going on... --- dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dune') diff --git a/dune b/dune index a1ec69e..8645b63 100644 --- a/dune +++ b/dune @@ -1,6 +1,6 @@ (library (name disml) - (modules endpoints http client sharder opcode model s message guild channel) + (modules attachment channel embed emoji guild member message reaction role snowflake user client endpoints http opcode sharder) (libraries core async_ssl cohttp-async yojson websocket-async zlib) ) -- cgit v1.2.3 From ffd7237f62ff8b286a05c9256ab90c92770241a9 Mon Sep 17 00:00:00 2001 From: Mishio595 Date: Sun, 25 Nov 2018 20:30:11 -0700 Subject: More models, some dispatch rework starting --- dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dune') diff --git a/dune b/dune index 8645b63..b8da5e2 100644 --- a/dune +++ b/dune @@ -1,6 +1,6 @@ (library (name disml) - (modules attachment channel embed emoji guild member message reaction role snowflake user client endpoints http opcode sharder) + (modules activity attachment ban channel embed emoji guild member message presence reaction role snowflake user client dispatch endpoints event http opcode sharder) (libraries core async_ssl cohttp-async yojson websocket-async zlib) ) -- cgit v1.2.3 From eaccd45894e5b519bca82662d0b950b5f1d9c598 Mon Sep 17 00:00:00 2001 From: Mishio595 Date: Thu, 29 Nov 2018 18:10:45 -0700 Subject: Fix all the errors from coding without merlin --- dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dune') diff --git a/dune b/dune index b8da5e2..519a52d 100644 --- a/dune +++ b/dune @@ -1,6 +1,6 @@ (library (name disml) - (modules activity attachment ban channel embed emoji guild member message presence reaction role snowflake user client dispatch endpoints event http opcode sharder) + (modules activity attachment ban channel embed emoji guild member message presence reaction role snowflake user client dispatch endpoints event http opcode s sharder) (libraries core async_ssl cohttp-async yojson websocket-async zlib) ) -- cgit v1.2.3 From 260ccd9960b852b9c69b88e9840d5a8b22bb8e1d Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Wed, 12 Dec 2018 15:00:46 -0700 Subject: Work on event dispatch and add model derives --- dune | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dune') diff --git a/dune b/dune index 519a52d..74aeebc 100644 --- a/dune +++ b/dune @@ -1,7 +1,8 @@ (library (name disml) (modules activity attachment ban channel embed emoji guild member message presence reaction role snowflake user client dispatch endpoints event http opcode s sharder) - (libraries core async_ssl cohttp-async yojson websocket-async zlib) + (libraries core async_ssl cohttp-async yojson websocket-async zlib ppx_deriving_yojson.runtime) + (preprocess (pps ppx_jane ppx_deriving_yojson)) ) ; Test executable -- cgit v1.2.3 From c046760eb599e42226c683aecbe33753dfc4d500 Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Wed, 12 Dec 2018 15:23:14 -0700 Subject: Complete event dispatch --- dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dune') diff --git a/dune b/dune index 74aeebc..f61ba04 100644 --- a/dune +++ b/dune @@ -8,7 +8,7 @@ ; Test executable (executable (name bot) - (modules bot) + (modules bot handler) (libraries core async_ssl disml) ) -- cgit v1.2.3 From 73d115ce6260e97f5f7ee47f743d842ffd292662 Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Thu, 13 Dec 2018 14:11:54 -0700 Subject: Working on deriving types from json --- dune | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'dune') diff --git a/dune b/dune index f61ba04..c9ff57b 100644 --- a/dune +++ b/dune @@ -1,8 +1,32 @@ (library (name disml) - (modules activity attachment ban channel embed emoji guild member message presence reaction role snowflake user client dispatch endpoints event http opcode s sharder) - (libraries core async_ssl cohttp-async yojson websocket-async zlib ppx_deriving_yojson.runtime) - (preprocess (pps ppx_jane ppx_deriving_yojson)) + (modules + activity_t activity_j + attachment_t attachment_j + ban_t ban_j + channel_t channel_j + embed_t embed_j + emoji_t emoji_j + guild_t guild_j + member_t member_j + message_t message_j + presence_t presence_j + reaction_t reaction_j + role_t role_j + snowflake_t snowflake_j + user_t user_j + client + dispatch + endpoints + event + http + opcode + rl + s + sharder + ) + (libraries core async_ssl cohttp-async yojson websocket-async zlib atdgen) + (preprocess (pps ppx_jane)) ) ; Test executable -- cgit v1.2.3 From af684566617ebce536e9f30693aa3e225af906c4 Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Fri, 14 Dec 2018 10:52:36 -0700 Subject: There's a lot going on --- dune | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'dune') diff --git a/dune b/dune index c9ff57b..72ec2ac 100644 --- a/dune +++ b/dune @@ -1,25 +1,26 @@ (library (name disml) (modules - activity_t activity_j - attachment_t attachment_j - ban_t ban_j - channel_t channel_j - embed_t embed_j - emoji_t emoji_j - guild_t guild_j - member_t member_j - message_t message_j - presence_t presence_j - reaction_t reaction_j - role_t role_j - snowflake_t snowflake_j - user_t user_j + activity activity_t activity_j + attachment attachment_t attachment_j + ban ban_t ban_j + channel channel_t channel_j + embed embed_t embed_j + emoji emoji_t emoji_j + guild guild_t guild_j + member member_t member_j + message message_t message_j + presence presence_t presence_j + reaction reaction_t reaction_j + role role_t role_j + snowflake snowflake_t snowflake_j + user user_t user_j client dispatch endpoints event http + models opcode rl s -- cgit v1.2.3 From 322929438c5e342641b66524a5bc2673eb3b2d50 Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Fri, 14 Dec 2018 16:17:15 -0700 Subject: A few metafile updates --- dune | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dune') diff --git a/dune b/dune index 72ec2ac..4ed0b70 100644 --- a/dune +++ b/dune @@ -1,5 +1,7 @@ (library (name disml) + (public_name disml) + (synopsis "An OCaml library for interfacing with the Discord API") (modules activity activity_t activity_j attachment attachment_t attachment_j @@ -27,7 +29,7 @@ sharder ) (libraries core async_ssl cohttp-async yojson websocket-async zlib atdgen) - (preprocess (pps ppx_jane)) + ;(preprocess (pps ppx_jane)) ) ; Test executable -- cgit v1.2.3