forked from varia/bots
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.
11 lines
394 B
11 lines
394 B
4 years ago
|
# GreetBot
|
||
|
|
||
|
This bot greets every time it enters a room.
|
||
|
|
||
|
On line 33 you can change the code after "mbody=" to add your own greeting:
|
||
|
|
||
|
self.send_message(mto=self.room, mbody='collective conditions', mtype='groupchat')
|
||
|
|
||
|
To run this bot, type the following command in your terminal:
|
||
|
|
||
|
python3 greet.py -d -j greetbot@conversejs.org -r muc_name@muc.vvvvvvaria.org -n greetbot -p testing
|