Use f-strings in more places that were missed.

This commit is contained in:
Rapptz committed 2021-04-08 06:02:47 -04:00
1 parent c3e0b6e123
commit 99fc950510
34 files changed
+220 -143

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ class PartialEmoji(_EmojiTag):
return f'<:{self.name}:{self.id}>'
def __repr__(self):
return '<{0.__class__.__name__} animated={0.animated} name={0.name!r} id={0.id}>'.format(self)
return f'<{self.__class__.__name__} animated={self.animated} name={self.name!r} id={self.id}>'
def __eq__(self, other):
if self.is_unicode_emoji():