-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot Commands #842
Comments
your clients can exchange any kind of data you need with this API: tox_friend_send_lossless_packet() https://github.com/TokTok/c-toxcore/blob/master/toxcore/tox.h |
@zoff99 you misunderstood what @amochkin was asking about. Modern IM platforms, such as Discord and others, have a "bot protocol", i.e. a client can declare that it's a bot, in contrast to a human user, and it can provide extra information on which commands it supports and such. @amochkin is asking that we add support of this in the Tox protocol and the toxcore library, so that all Tox clients and bots would support it. This would allow Tox clients to visually distinguish bot users from human users in the UI, as well as to provide additional information about the bot without bots having to resort to using the annoying "greeting messages" like the one @amochkin mentioned. |
Clients can do this with custom packets. |
Hi, we are making IoT projects on Tox.
For this projects it would be awesome for Tox to support tags of bot commands.
For example, an IoT device would use a toxcore client (as we do now). And this client would have some means of advertising to all its contacts (peers) that it is a bot, and it support some specific commands.
Right now, as soon as IoT device and a user get connected over Tox, the IoT device sends a small greeting with further instructions. But it is much better to do it as in-band protocol.
Do you have any plans for cooperating with developers like us? Is there any possibility to submit a feature request?
The text was updated successfully, but these errors were encountered: