Convert two missing places to f-strings
This commit is contained in:
		| @@ -359,7 +359,7 @@ class GuildChannel: | |||||||
|     @property |     @property | ||||||
|     def mention(self): |     def mention(self): | ||||||
|         """:class:`str`: The string that allows you to mention the channel.""" |         """:class:`str`: The string that allows you to mention the channel.""" | ||||||
|         return '<#%s>' % self.id |         return f'<#{self.id}>' | ||||||
|  |  | ||||||
|     @property |     @property | ||||||
|     def created_at(self): |     def created_at(self): | ||||||
|   | |||||||
| @@ -78,7 +78,7 @@ class PartialInviteChannel: | |||||||
|     @property |     @property | ||||||
|     def mention(self): |     def mention(self): | ||||||
|         """:class:`str`: The string that allows you to mention the channel.""" |         """:class:`str`: The string that allows you to mention the channel.""" | ||||||
|         return '<#%s>' % self.id |         return f'<#{self.id}>' | ||||||
|  |  | ||||||
|     @property |     @property | ||||||
|     def created_at(self): |     def created_at(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user