forked from varia/bots
added description for transitbot
This commit is contained in:
parent
1b23290be8
commit
dee348a433
15
TransitBot/README.md
Normal file
15
TransitBot/README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user