Fix message mentionable formatting
This commit is contained in:
parent
fdfb7cb7f1
commit
e332053380
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class Message():
|
||||||
Converts the name to a mentionable format.
|
Converts the name to a mentionable format.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return "".join(c for c in self.name if not c in ",.!?;&<'\"" and not c.isspace()).lower()
|
return self.sender.mentionable()
|
||||||
|
|
||||||
def is_edited(self):
|
def is_edited(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue