A place for all our bot adventures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ccl dee348a433 added description for transitbot 4 years ago
..
README.md added description for transitbot 4 years ago
transit.py put all bots in specific folders 4 years ago

README.md

TransitBot

This bot announces when someone enters or leaves the space.

On line 39, you can edit the message when someone enters by editing what goes after 'mbody="':

mbody="%s has just entered..." % (presence['muc']['nick']),

On line 45, you can edit the message when someone leaves by editing what goes after 'mbody="':

mbody="%s has just left..." % (presence['muc']['nick']),

To run this bot, type the following command in your terminal:

python3 transit.py -d -j transitbot@conversejs.org -r muc_name@muc.vvvvvvaria.org -n transitbot -p testing