Changed audit_log to audit_logs in documentation

This commit is contained in:
Twentysix 2017-04-30 12:56:58 +02:00
parent c54a6a927d
commit 86b9099f3a
3 changed files with 3 additions and 3 deletions

View File

@ -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
-----------

View File

@ -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
-----------

View File

@ -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