aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorTwentysix <[email protected]>2017-04-30 12:56:58 +0200
committerTwentysix <[email protected]>2017-04-30 12:56:58 +0200
commit86b9099f3a4fd26c23a38450df42cfe452c683f4 (patch)
tree10e01d86c6fdab8dca2d3ed9a0f26df1a75a8d69 /discord
parentImplement audit logs. (diff)
downloaddiscord.py-86b9099f3a4fd26c23a38450df42cfe452c683f4.tar.xz
discord.py-86b9099f3a4fd26c23a38450df42cfe452c683f4.zip
Changed audit_log to audit_logs in documentation
Diffstat (limited to 'discord')
-rw-r--r--discord/audit_logs.py2
-rw-r--r--discord/guild.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/audit_logs.py b/discord/audit_logs.py
index bf48b172..cbd3d3ac 100644
--- a/discord/audit_logs.py
+++ b/discord/audit_logs.py
@@ -172,7 +172,7 @@ class AuditLogChanges:
class AuditLogEntry:
"""Represents an Audit Log entry.
- You retrieve these via :meth:`Guild.audit_log`.
+ You retrieve these via :meth:`Guild.audit_logs`.
Attributes
-----------
diff --git a/discord/guild.py b/discord/guild.py
index 50426fd3..a044bdd9 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -1026,7 +1026,7 @@ class Guild(Hashable):
def audit_logs(self, *, limit=100, before=None, after=None, reverse=None, user=None, action=None):
"""Return an :class:`AsyncIterator` that enables receiving the guild's audit logs.
- You must have :attr:`Permissions.view_audit_log` permission to use this.
+ You must have :attr:`Permissions.view_audit_logs` permission to use this.
Parameters
-----------