Compare commits
1 Commits
26dc684851
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 93c17112e3 |
@@ -72,7 +72,7 @@ class FocusComponent(cmds.Component):
|
|||||||
|
|
||||||
This amounts to whether it starts with a punctuation symbol, or it is only emotes and mentions.
|
This amounts to whether it starts with a punctuation symbol, or it is only emotes and mentions.
|
||||||
"""
|
"""
|
||||||
allowed = message.text.startswith(tuple(punctuation))
|
allowed = message.text.startswith(tuple("!*#%|?><."))
|
||||||
|
|
||||||
if not allowed:
|
if not allowed:
|
||||||
allowed = True
|
allowed = True
|
||||||
|
|||||||
Reference in New Issue
Block a user