v 0.2.1
This commit is contained in:
parent
3ea8c049c5
commit
80c2e620bd
10
README.md
10
README.md
@ -1,4 +1,4 @@
|
|||||||
###File bot
|
### File bot
|
||||||
A bot which allows you to easily share files with friends and family using [Tox](https://tox.chat/)
|
A bot which allows you to easily share files with friends and family using [Tox](https://tox.chat/)
|
||||||
|
|
||||||
Based on [toxygen](https://github.com/xveduk/toxygen/) toxcore wrapper
|
Based on [toxygen](https://github.com/xveduk/toxygen/) toxcore wrapper
|
||||||
@ -8,7 +8,7 @@ Based on [toxygen](https://github.com/xveduk/toxygen/) toxcore wrapper
|
|||||||
- Windows
|
- Windows
|
||||||
- Linux
|
- Linux
|
||||||
|
|
||||||
#Install:
|
# Install:
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ Based on [toxygen](https://github.com/xveduk/toxygen/) toxcore wrapper
|
|||||||
5. Run app:
|
5. Run app:
|
||||||
``python main.py path_to_profile``
|
``python main.py path_to_profile``
|
||||||
|
|
||||||
#Commands:
|
# Commands:
|
||||||
```
|
```
|
||||||
help - list of commands
|
help - list of commands
|
||||||
|
|
||||||
@ -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)
|
||||||
|
2
main.py
2
main.py
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user