Changed audit_log to audit_logs in documentation
This commit is contained in:
parent
c54a6a927d
commit
86b9099f3a
@ -172,7 +172,7 @@ class AuditLogChanges:
|
|||||||
class AuditLogEntry:
|
class AuditLogEntry:
|
||||||
"""Represents an Audit Log entry.
|
"""Represents an Audit Log entry.
|
||||||
|
|
||||||
You retrieve these via :meth:`Guild.audit_log`.
|
You retrieve these via :meth:`Guild.audit_logs`.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
-----------
|
-----------
|
||||||
|
@ -1026,7 +1026,7 @@ class Guild(Hashable):
|
|||||||
def audit_logs(self, *, limit=100, before=None, after=None, reverse=None, user=None, action=None):
|
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.
|
"""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
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
|
@ -713,7 +713,7 @@ All enumerations are subclasses of `enum`_.
|
|||||||
.. class:: AuditLogAction
|
.. class:: AuditLogAction
|
||||||
|
|
||||||
Represents the type of action being done for a :class:`AuditLogEntry`\,
|
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
|
.. attribute:: guild_update
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user