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 /discord | |
| parent | Implement audit logs. (diff) | |
| download | discord.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.py | 2 | ||||
| -rw-r--r-- | discord/guild.py | 2 |
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 ----------- |