diff options
| author | acdenisSK <[email protected]> | 2017-07-20 03:47:13 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-20 03:48:28 +0200 |
| commit | 6a101c4a409ae3abe4038f96dcd51f0788d4c0e4 (patch) | |
| tree | 505c7dc6e4735c82dc9d01c0b83146b30c75da50 /src/http/ratelimiting.rs | |
| parent | Fix tests (diff) | |
| download | serenity-6a101c4a409ae3abe4038f96dcd51f0788d4c0e4.tar.xz serenity-6a101c4a409ae3abe4038f96dcd51f0788d4c0e4.zip | |
Add an actual way to fetch audit log entries from a guild
Diffstat (limited to 'src/http/ratelimiting.rs')
| -rw-r--r-- | src/http/ratelimiting.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index a674537..a5b7032 100644 --- a/src/http/ratelimiting.rs +++ b/src/http/ratelimiting.rs @@ -207,6 +207,11 @@ pub enum Route { /// /// [`GuildId`]: struct.GuildId.html GuildsIdBans(u64), + /// Route for the `/guilds/:guild_id/audit-logs` path. + /// The data is the relevant [`GuildId`]. + /// + /// [`GuildId`]: struct.GuildId.html + GuildsIdAuditLogs(u64), /// Route for the `/guilds/:guild_id/bans/:user_id` path. /// /// The data is the relevant [`GuildId`]. |