fix: avoid '/help is not an email address'
This commit is contained in:
parent
b4d8a5279b
commit
832ca22bc1
|
|
@ -33,6 +33,8 @@ def command(event):
|
|||
return snapshot.chat.send_text(snapshot.chat.account.get_qr_code())
|
||||
elif snapshot.text == "Messages are guaranteed to be end-to-end encrypted from now on.":
|
||||
return
|
||||
elif snapshot.text.strip() == "/help":
|
||||
return snapshot.chat.send_text(HELP_MSG)
|
||||
elif snapshot.text == "/publish":
|
||||
vcard_to_upload = snapshot.sender.make_vcard()
|
||||
if snapshot.get("file"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue