aboutsummaryrefslogtreecommitdiff
path: root/discord/audit_logs.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/audit_logs.py')
-rw-r--r--discord/audit_logs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/audit_logs.py b/discord/audit_logs.py
index 745f89d1..ea97eb74 100644
--- a/discord/audit_logs.py
+++ b/discord/audit_logs.py
@@ -301,7 +301,7 @@ class AuditLogEntry(Hashable):
return self.guild.get_member(user_id) or self._users.get(user_id)
def __repr__(self):
- return '<AuditLogEntry id={0.id} action={0.action} user={0.user!r}>'.format(self)
+ return f'<AuditLogEntry id={self.id} action={self.action} user={self.user!r}>'
@utils.cached_property
def created_at(self):