diff options
Diffstat (limited to 'lib/http.ml')
| -rw-r--r-- | lib/http.ml | 5 |
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 |