We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 844f158 commit a87e704Copy full SHA for a87e704
core/thread.py
@@ -739,7 +739,7 @@ def format_channel_name(self, author):
739
"""Sanitises a username for use with text channel names"""
740
name = author.name.lower()
741
new_name = (
742
- "".join(l for l in name if l not in string.punctuation and l.printable())
+ "".join(l for l in name if l not in string.punctuation and l.isprintable())
743
or "null"
744
)
745
new_name += f"⧫{author.discriminator}"
0 commit comments