mirror of https://github.com/zulip/zulip.git
bots: Modify 'virtual_fs' bot to respond with help message on bot mention.
Earlier, if virtual_fs bot is called without any argument, then the bot returns nothing. Now, virtual_fs bot replies with help message on how the user can call this bot.
This commit is contained in:
parent
d4443b05fb
commit
b3dddbe75f
|
@ -10,7 +10,7 @@ class VirtualFsHandler(object):
|
||||||
def handle_message(self, message, client, state_handler):
|
def handle_message(self, message, client, state_handler):
|
||||||
command = message['content']
|
command = message['content']
|
||||||
if command == "":
|
if command == "":
|
||||||
return
|
command = "help"
|
||||||
sender = message['sender_email']
|
sender = message['sender_email']
|
||||||
|
|
||||||
state = state_handler.get_state()
|
state = state_handler.get_state()
|
||||||
|
|
Loading…
Reference in New Issue