mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-09 05:04:50 +00:00
Fixx
This commit is contained in:
parent
f622118d68
commit
546cc61346
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ def text_set(text):
|
||||||
async def handwrite(client, message):
|
async def handwrite(client, message):
|
||||||
if message.reply_to_message and message.reply_to_message.text:
|
if message.reply_to_message and message.reply_to_message.text:
|
||||||
txt = message.reply_to_message.text
|
txt = message.reply_to_message.text
|
||||||
elif message.command > 1:
|
elif len(message.command) > 1:
|
||||||
txt = message.text.split(None, 1)[1]
|
txt = message.text.split(None, 1)[1]
|
||||||
else:
|
else:
|
||||||
return await message.reply("Please reply to message or write after command to use Nulis CMD.")
|
return await message.reply("Please reply to message or write after command to use Nulis CMD.")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue