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.
14 lines
449 B
14 lines
449 B
4 years ago
|
# SparkBot
|
||
|
|
||
|
This bot replies to a specific word.
|
||
|
|
||
|
On line 42, you can edit the word-to-be-responded-to after "if '":
|
||
|
if 'target-word' in msg['body']:
|
||
|
|
||
|
On line 44, you can edit the response options after "wordslist = ['":
|
||
|
|
||
|
wordslist = ['a response to the target-word.']
|
||
|
|
||
|
To run this bot, type the following command in your terminal:
|
||
|
|
||
|
python3 spark.py -d -j sparkbot@conversejs.org -r muc_name@muc.vvvvvvaria.org -n sparkbot -p testing
|