aboutsummaryrefslogtreecommitdiff
path: root/discord/invite.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-04 07:17:03 -0400
committerRapptz <[email protected]>2021-04-04 07:17:03 -0400
commit94bd1b9822eefe50f4c99e2b27a322bbb3e2e360 (patch)
tree94e2430a398f2331ed2d335b3902a9b61033aca3 /discord/invite.py
parentRemove encoding header from generated code (diff)
downloaddiscord.py-94bd1b9822eefe50f4c99e2b27a322bbb3e2e360.tar.xz
discord.py-94bd1b9822eefe50f4c99e2b27a322bbb3e2e360.zip
Convert two missing places to f-strings
Diffstat (limited to 'discord/invite.py')
-rw-r--r--discord/invite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/invite.py b/discord/invite.py
index 2543f766..939c6293 100644
--- a/discord/invite.py
+++ b/discord/invite.py
@@ -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):