aboutsummaryrefslogtreecommitdiff
path: root/lib/http.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-24 15:20:39 -0700
committerAdelyn Breelove <[email protected]>2019-01-24 15:20:39 -0700
commita77c78202579681bab118dc64e90f3831718f166 (patch)
treec2ecb498264f4a2410763a1dbbdd4525ee3f6594 /lib/http.ml
parentMore event dispatch work (diff)
downloaddisml-a77c78202579681bab118dc64e90f3831718f166.tar.xz
disml-a77c78202579681bab118dc64e90f3831718f166.zip
Hopefully finished event deserialization changes
Diffstat (limited to 'lib/http.ml')
-rw-r--r--lib/http.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/http.ml b/lib/http.ml
index 1ff8e9d..9799d7a 100644
--- a/lib/http.ml
+++ b/lib/http.ml
@@ -351,4 +351,7 @@ let execute_git_webhook webhook_id token body =
Base.request ~body `POST (Endpoints.webhook_git webhook_id token)
let get_audit_logs guild_id body =
- Base.request ~body `GET (Endpoints.guild_audit_logs guild_id) \ No newline at end of file
+ Base.request ~body `GET (Endpoints.guild_audit_logs guild_id)
+
+let get_application_info () =
+ Base.request `GET (Endpoints.application_information) \ No newline at end of file