2016-10-02 23:24:34 +02:00
|
|
|
### File bot
|
2016-04-21 22:53:11 +02:00
|
|
|
A bot which allows you to easily share files with friends and family using [Tox](https://tox.chat/)
|
|
|
|
|
2022-10-18 00:28:00 +02:00
|
|
|
Originally Based on [toxygen](https://github.com/toxygen-project/toxygen/) toxcore wrapper
|
2016-04-21 21:55:31 +02:00
|
|
|
|
|
|
|
|
2016-10-02 23:24:34 +02:00
|
|
|
# Commands:
|
2016-05-02 11:21:25 +02:00
|
|
|
```
|
2016-04-21 22:53:11 +02:00
|
|
|
help - list of commands
|
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
rights - get access rights
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
files - show list of files (get access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
id - get bot's id (get access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
share <ToxID> <file_name> - send file to friend (get access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
share --all <file_name> - send file to all friends (get access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
size <file_name> - get size of file (get access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
get <file_name> - get file with specified filename (get access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-26 19:42:20 +02:00
|
|
|
get --all - get all files (get access)
|
|
|
|
|
2016-04-26 12:09:39 +02:00
|
|
|
stats - show statistics (write access)
|
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
del <file_name> - remove file with specified filename (delete access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
rename <file_name> --new <new_file_name> - rename file (delete access)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
user <ToxID> <rights> - new rights (example: rwdm) for user (masters only)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
status <new_status> - new status message (masters only)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
name <new_name> - new name (masters only)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-21 21:55:31 +02:00
|
|
|
message <ToxID> <message_text> - send message to friend (masters only)
|
2016-04-21 22:53:11 +02:00
|
|
|
|
2016-04-26 12:09:39 +02:00
|
|
|
message --all <message_text> - send message to all friends (masters only)
|
|
|
|
|
|
|
|
stop - stop bot (masters only)
|
2016-10-02 23:24:34 +02:00
|
|
|
|
|
|
|
fsize <size_in_MB> - sets size of shared folder (masters only)
|
2016-05-02 11:21:25 +02:00
|
|
|
```
|
2016-04-26 12:09:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
Users with write access can send files to bot.
|
2016-05-02 11:21:25 +02:00
|
|
|
|
2016-10-02 23:24:34 +02:00
|
|
|
Users with delete access can delete and rename files.
|
|
|
|
|
2016-05-02 11:21:25 +02:00
|
|
|
Example of settings is [here](/settings.json)
|
2022-10-06 15:44:35 +02:00
|
|
|
|
|
|
|
## Hard Fork
|
|
|
|
|
2022-10-28 05:52:30 +02:00
|
|
|
https://git.plastiras.org/emdee/filebot
|
2022-10-18 00:28:00 +02:00
|
|
|
|
|
|
|
* Ported to Python 3.9
|
2022-10-28 05:52:30 +02:00
|
|
|
* Changed to use https://git.plastiras.org/emdee/toxygen_wrapper
|
2022-10-11 12:51:16 +02:00
|
|
|
|
|
|
|
Work on this project is suspended until the MultiDevice problem is solved.
|