aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py
index a4cdae5a..c5440479 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -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):