This commit is contained in:
ingvar1995 2016-10-03 00:24:34 +03:00
parent 3ea8c049c5
commit 80c2e620bd
2 changed files with 8 additions and 4 deletions

View File

@ -74,9 +74,13 @@ message <ToxID> <message_text> - send message to friend (masters only)
message --all <message_text> - send message to all friends (masters only) message --all <message_text> - send message to all friends (masters only)
stop - stop bot (masters only) stop - stop bot (masters only)
fsize <size_in_MB> - sets size of shared folder (masters only)
``` ```
Users with write access can send files to bot. Users with write access can send files to bot.
Users with delete access can delete and rename files.
Example of settings is [here](/settings.json) Example of settings is [here](/settings.json)

View File

@ -13,7 +13,7 @@ class FileBot(object):
self.stop = False self.stop = False
self.profile = None self.profile = None
self.path = path self.path = path
print 'FileBot v0.1.1' print 'FileBot v0.1.2'
def main(self): def main(self):
self.tox = tox_factory(ProfileHelper.open_profile(self.path)) self.tox = tox_factory(ProfileHelper.open_profile(self.path))