aboutsummaryrefslogtreecommitdiff
path: root/discord/role.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/role.py')
-rw-r--r--discord/role.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/discord/role.py b/discord/role.py
index 735ad12b..46f1ba39 100644
--- a/discord/role.py
+++ b/discord/role.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
"""
The MIT License (MIT)
@@ -248,7 +246,7 @@ class Role(Hashable):
@property
def mention(self):
""":class:`str`: Returns a string that allows you to mention a role."""
- return '<@&%s>' % self.id
+ return f'<@&{self.id}>'
@property
def members(self):