diff options
| author | Rapptz <[email protected]> | 2017-05-25 20:16:03 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-25 20:16:03 -0400 |
| commit | a8474ed6d3c70db79740c42753d991f663aab431 (patch) | |
| tree | ca15fbfc52b56b14700b638b4ff5dd034f8ad5d9 | |
| parent | Mention on_member_ban event change. (diff) | |
| download | discord.py-a8474ed6d3c70db79740c42753d991f663aab431.tar.xz discord.py-a8474ed6d3c70db79740c42753d991f663aab431.zip | |
Document that exceptions happen in Guild.audit_logs.
| -rw-r--r-- | discord/guild.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/discord/guild.py b/discord/guild.py index bea3456a..31b98abe 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -1116,6 +1116,13 @@ class Guild(Hashable): :class:`AuditLogEntry` The audit log entry. + Raises + ------- + Forbidden + You are not allowed to fetch audit logs + HTTPException + An error occurred while fetching the audit logs. + Examples ---------- |