Use f-strings in more places that were missed.

This commit is contained in:
Rapptz
2021-04-08 06:02:47 -04:00
parent c3e0b6e123
commit 99fc950510
34 changed files with 220 additions and 143 deletions

View File

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