From b3dddbe75f89f55884b11a808ea1f44404afbb9c Mon Sep 17 00:00:00 2001 From: Abhijeet Kaur Date: Sun, 28 May 2017 05:07:32 +0530 Subject: [PATCH] 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. --- contrib_bots/bots/virtual_fs/virtual_fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib_bots/bots/virtual_fs/virtual_fs.py b/contrib_bots/bots/virtual_fs/virtual_fs.py index 7a9c82432a..a96aec49c2 100644 --- a/contrib_bots/bots/virtual_fs/virtual_fs.py +++ b/contrib_bots/bots/virtual_fs/virtual_fs.py @@ -10,7 +10,7 @@ class VirtualFsHandler(object): def handle_message(self, message, client, state_handler): command = message['content'] if command == "": - return + command = "help" sender = message['sender_email'] state = state_handler.get_state()