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:
Abhijeet Kaur 2017-05-28 05:07:32 +05:30 committed by Tim Abbott
parent d4443b05fb
commit b3dddbe75f
1 changed files with 1 additions and 1 deletions

View File

@ -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()