added description for sparkbot
This commit is contained in:
parent
072950a16e
commit
1b23290be8
14
SparkBot/README.md
Normal file
14
SparkBot/README.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user