From 1b23290be89480012a244311e376286af3584760 Mon Sep 17 00:00:00 2001 From: ccl Date: Wed, 13 Jan 2021 14:49:11 +0100 Subject: [PATCH] added description for sparkbot --- SparkBot/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 SparkBot/README.md diff --git a/SparkBot/README.md b/SparkBot/README.md new file mode 100644 index 0000000..a3f84d1 --- /dev/null +++ b/SparkBot/README.md @@ -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 \ No newline at end of file