ToxBot is a remotely controlled Tox bot whose purpose is to auto-invite friends to Tox groupchats. It accepts friend requests automatically and will auto-invite friends to the specified group chat (default is group 0 unless set otherwise). It also has the ability to create and leave groups, password protect invites, and send messages to groups.
Although current functionality is barebones, it will be easy to expand the bot to act in more comprehensive ways once Tox group chats are fully implemented (e.g. admin duties); this was the main motivation behind creating a proper Tox bot.
In order to control the bot you must add your Tox ID to the masterkeys
file in your base directory. Once you add the bot as a friend, you can send it privileged commands as normal messages; there is no front-end.
ToxBot will automatically accept groupchat invites from a master.
help
- Print this messageinfo
- Print current status and list active group chatsid
- Print Tox IDinvite
- Request invite to default group chatinvite <n> <pass>
- Request invite to group chat n (with password if necessary)group <type> <pass>
- Creates a new groupchat with type: text | audio (optional password)
- pkg-config
- libtoxcore
- libtoxav
make && make install
Note: If you get an error that says cannot open shared object file: No such file or directory
, try running sudo ldconfig
.