Convert two missing places to f-strings

This commit is contained in:
Rapptz 2021-04-04 07:17:03 -04:00
parent 4d44872511
commit 94bd1b9822
2 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ class GuildChannel:
@property
def mention(self):
""":class:`str`: The string that allows you to mention the channel."""
return '<#%s>' % self.id
return f'<#{self.id}>'
@property
def created_at(self):

View File

@ -78,7 +78,7 @@ class PartialInviteChannel:
@property
def mention(self):
""":class:`str`: The string that allows you to mention the channel."""
return '<#%s>' % self.id
return f'<#{self.id}>'
@property
def created_at(self):