From a8474ed6d3c70db79740c42753d991f663aab431 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 25 May 2017 20:16:03 -0400 Subject: [PATCH] Document that exceptions happen in Guild.audit_logs. --- discord/guild.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/discord/guild.py b/discord/guild.py index bea3456ac..31b98abe4 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 ----------