My first Nextcloud Talk chat bot

Hello all, I was so excited about new Nextcloud Talk chat bot feature, so I wrote my very first chat bot.

Basically it is pretty simple, it will give you back anything that you specified in a nextcloud-links-list. You can register bot in your installation via command:

sudo -u www-data php /var/www/nextcloud/occ talk:command:add links links "/usr/local/bin/nextcloud_links.sh {ARGUMENTS} {ROOM} {USER}" 2 3

And then call it by /links or /links git

grafik

More about this feature in a Talk Docu: https://nextcloud-talk.readthedocs.io/en/latest/commands/

And what kind of Bots do you have?

3 Likes