Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
e32cabe
1
Parent(s):
bfedc3e
Update msg_types.py
Browse files
Powers/utils/msg_types.py
CHANGED
|
@@ -98,7 +98,7 @@ async def get_filter_type(m: Message):
|
|
| 98 |
|
| 99 |
if not m.reply_to_message and m.text and len(m.text.split()) >= 3:
|
| 100 |
content = None
|
| 101 |
-
text = m.text.split(None, 2)[2]
|
| 102 |
data_type = Types.TEXT
|
| 103 |
|
| 104 |
elif m.reply_to_message:
|
|
@@ -165,7 +165,7 @@ async def get_wlcm_type(m: Message):
|
|
| 165 |
|
| 166 |
if not m.reply_to_message and m.text and len(m.text.split()) >= 2:
|
| 167 |
content = None
|
| 168 |
-
text = m.text.split(None, 1)[1]
|
| 169 |
data_type = Types.TEXT
|
| 170 |
|
| 171 |
elif m.reply_to_message:
|
|
|
|
| 98 |
|
| 99 |
if not m.reply_to_message and m.text and len(m.text.split()) >= 3:
|
| 100 |
content = None
|
| 101 |
+
text = m.text.markdown.split(None, 2)[2]
|
| 102 |
data_type = Types.TEXT
|
| 103 |
|
| 104 |
elif m.reply_to_message:
|
|
|
|
| 165 |
|
| 166 |
if not m.reply_to_message and m.text and len(m.text.split()) >= 2:
|
| 167 |
content = None
|
| 168 |
+
text = m.text.markdown.split(None, 1)[1]
|
| 169 |
data_type = Types.TEXT
|
| 170 |
|
| 171 |
elif m.reply_to_message:
|