Changed audit_log to audit_logs in documentation
This commit is contained in:
@ -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
|
||||
-----------
|
||||
|
@ -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
|
||||
-----------
|
||||
|
Reference in New Issue
Block a user