aboutsummaryrefslogtreecommitdiff
path: root/discord/sticker.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/sticker.py')
-rw-r--r--discord/sticker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/sticker.py b/discord/sticker.py
index 1240e357..48701f62 100644
--- a/discord/sticker.py
+++ b/discord/sticker.py
@@ -88,7 +88,7 @@ class Sticker(Hashable):
self.preview_image = data.get('preview_asset')
def __repr__(self):
- return '<{0.__class__.__name__} id={0.id} name={0.name!r}>'.format(self)
+ return f'<{self.__class__.__name__} id={self.id} name={self.name!r}>'
def __str__(self):
return self.name