Change some format usage to use %-formatting.
Minor speed increase when we're not doing excessive attribute access or any type of formatting.
This commit is contained in:
@ -194,7 +194,7 @@ class GuildChannel:
|
||||
@property
|
||||
def mention(self):
|
||||
"""str : The string that allows you to mention the channel."""
|
||||
return '<#{0.id}>'.format(self)
|
||||
return '<#%s>' % self.id
|
||||
|
||||
@property
|
||||
def created_at(self):
|
||||
|
Reference in New Issue
Block a user