diff options
| author | Twentysix <[email protected]> | 2017-04-30 12:56:58 +0200 |
|---|---|---|
| committer | Twentysix <[email protected]> | 2017-04-30 12:56:58 +0200 |
| commit | 86b9099f3a4fd26c23a38450df42cfe452c683f4 (patch) | |
| tree | 10e01d86c6fdab8dca2d3ed9a0f26df1a75a8d69 | |
| parent | Implement audit logs. (diff) | |
| download | discord.py-86b9099f3a4fd26c23a38450df42cfe452c683f4.tar.xz discord.py-86b9099f3a4fd26c23a38450df42cfe452c683f4.zip | |
Changed audit_log to audit_logs in documentation
| -rw-r--r-- | discord/audit_logs.py | 2 | ||||
| -rw-r--r-- | discord/guild.py | 2 | ||||
| -rw-r--r-- | docs/api.rst | 2 |
3 files changed, 3 insertions, 3 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 ----------- diff --git a/docs/api.rst b/docs/api.rst index 303cc174..fbf16e92 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -713,7 +713,7 @@ All enumerations are subclasses of `enum`_. .. class:: AuditLogAction Represents the type of action being done for a :class:`AuditLogEntry`\, - which is retrievable via :meth:`Guild.audit_log`. + which is retrievable via :meth:`Guild.audit_logs`. .. attribute:: guild_update |