jfreegman / toxbot Goto Github PK
View Code? Open in Web Editor NEWA groupchat control bot for Tox
License: GNU General Public License v3.0
A groupchat control bot for Tox
License: GNU General Public License v3.0
Hey, so sorry in advance if I'm making a really stupid mistake and this is my fault, but here's my problem:
I have the qTox nightly binary installed from the repository (I'm running Ubuntu 14.10). It's completely up-to-date and stuff. I cloned this repository and built it, installing the latest toxcore and libsodium as I needed them (I used git checkout tags/1.0.0 on libsodium as it recommends). Everything built fine and the bot works, but my problem is that messages sent from the bot have the first four characters cut off (I get "lid command. Type help for a list of commands" from the bot), and messages sent to the bot appear to be blanked out. I think there's a version incompatibility here, but I can't be sure (I'm not very familiar with the Tox architecture). I tried Googling to see if this was a common bug, but I couldn't find anything (it doesn't help that your application is competing with something called Taxbot :P). I tried it with uTox and had the same issue. Do you have any idea what the problem could be? Thanks!
ToxBot is unable to rejoin the groupchat after being disconnected or rebooted,
while toxic an qTox clients can.
If this is related to #7 and it is still waiting for new group chat version, you can close this issue.
now groupbot just gives number automatically (group 1, group 2, etc) so after server restart other people can register group with same number.
please add ability to give chatrooms custom names so other people won't begin to use it.
Or maybe doesn't even come online.
I tried on the same host, trying to add the bot to qTox, and qTox never saw toxbot come online.
CC toxbot.o
./src/toxbot.c: In function ‘load_tox’:
./src/toxbot.c:317:13: error: too many arguments to function ‘tox_new’
m = tox_new(options, NULL, 0, &err);
^
In file included from ./src/toxbot.c:36:0:
/usr/local/include/tox/tox.h:615:6: note: declared here
Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
^
./src/toxbot.c:343:26: warning: passing argument 2 of ‘tox_new’ from incompatible pointer type
m = tox_new(options, (uint8_t *) data, data_len, &err);
^
In file included from ./src/toxbot.c:36:0:
/usr/local/include/tox/tox.h:615:6: note: expected ‘enum TOX_ERR_NEW *’ but argument is of type ‘uint8_t *’
Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
^
./src/toxbot.c:343:9: error: too many arguments to function ‘tox_new’
m = tox_new(options, (uint8_t *) data, data_len, &err);
^
In file included from ./src/toxbot.c:36:0:
/usr/local/include/tox/tox.h:615:6: note: declared here
Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
^
Makefile:12: recipe for target 'toxbot.o' failed
make: *** [toxbot.o] Error 1
i compiled newest toxcore and ToxBox doesn't compile.
I am a bit confused about the process to create a new group that has a number other than 0 so it does not clash with other groups - or do I not have to do that - just leave group number at 0. Also it would be good, for master commands to be embedded in the code ie set command to ? like in lambdabot followed by characters or words to carry out command.
It should install into
This is better for packagers.
Hi there, thank you for such an awesome tool. I have two suggestions to make it more robust
I'd do that myself, but I'm more of a c# guy. Thanks
I get "Error: Invalid Tox ID" when I try to add a masterkey with a 64 chars ToxID (which is valid) and "ID added to masterkeys list" for a 76 chars one.
If I try to add the 64 chars ToxID to masterkeys file and restart toxbot it doesn't connect to Tox network without error message.
Hi is it possible to add an userpic? thx a lot I love the program
It may be interesting to have an autoinvite feature, avoiding to retype "invite" or "invite N" at each reconnection. Possibly related to #1.
I've started getting compile failures recently due to PRIu64 not being defined. I guess they worked before because something else (toxcore?) was including it at a distance.
Hello,
Hence we cannot get our friends complete ID through clients, it would be good to have a command to list masterkeys (or some other key list)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.