aboutsummaryrefslogtreecommitdiff
path: root/lib/http.ml
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-10-21 18:20:01 -0600
committerMishio595 <[email protected]>2018-10-21 18:20:01 -0600
commitb47f0a22c5bcba1e2570dcf95d820399e9627ec2 (patch)
tree23a850e882ac2dd9d625b052d17148a610e8d2b6 /lib/http.ml
parentAdd HTTP routes (diff)
downloaddisml-b47f0a22c5bcba1e2570dcf95d820399e9627ec2.tar.xz
disml-b47f0a22c5bcba1e2570dcf95d820399e9627ec2.zip
Basic sharding
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 af5de51..105ae34 100644
--- a/lib/http.ml
+++ b/lib/http.ml
@@ -313,4 +313,7 @@ let execute_slack_webhook webhook_id token body =
Base.request ~body `POST (Endpoints.webhook_slack webhook_id token)
let execute_git_webhook webhook_id token body =
- Base.request ~body `POST (Endpoints.webhook_git webhook_id token) \ No newline at end of file
+ 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