Updates get_help() function in 'virtual_fs' bot.

Update example commands from calling by keyword 'fs'
(As was done previously) to calling by at-mention of
the bot.
Updates '/contrib_bots/bots/virtual_fs/virtual_fs.py' by
correcting instructions on how to call 'virtual_fs' bot.
This commit is contained in:
Abhijeet Kaur 2017-05-23 03:13:12 +05:30 committed by Tim Abbott
parent 1991e0128b
commit f33baacd02
2 changed files with 33 additions and 33 deletions

View file

@ -37,23 +37,23 @@ class VirtualFsHandler(object):
def get_help():
return '''
The "fs" commands implement a virtual file system for a stream.
This bot implements a virtual file system for a stream.
The locations of text are persisted for the lifetime of the bot
running, and if you rename a stream, you will lose the info.
Example commands:
```
fs sample_conversation: sample conversation with the bot
fs mkdir: create a directory
fs ls: list a directory
fs cd: change directory
fs pwd: show current path
fs write: write text
fs read: read text
fs rm: remove a file
fs rmdir: remove a directory
@mention-bot sample_conversation: sample conversation with the bot
@mention-bot mkdir: create a directory
@mention-bot ls: list a directory
@mention-bot cd: change directory
@mention-bot pwd: show current path
@mention-bot write: write text
@mention-bot read: read text
@mention-bot rm: remove a file
@mention-bot rmdir: remove a directory
```
Use commands like `fs help write` for more details on specific
Use commands like `@mention-bot help write` for more details on specific
commands.
'''