diff --git a/.gitignore b/.gitignore index e7b3633..f4362c7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ logs/* # Ignore the running willie config file conf/whatsedo.cfg +conf/whatsapp.json # Don't ignore gitignore !.gitignore diff --git a/breakbot b/breakbot index f48a437..bc790f8 160000 --- a/breakbot +++ b/breakbot @@ -1 +1 @@ -Subproject commit f48a437fc27c39e10fbaaa63da9df72a1ff78cdf +Subproject commit bc790f8f972cbeaca5ed04684fcca125d096d257 diff --git a/conf/whatsapp-example.json b/conf/whatsapp-example.json new file mode 100644 index 0000000..c1a93a0 --- /dev/null +++ b/conf/whatsapp-example.json @@ -0,0 +1,20 @@ +{ + "contacts": { + "34555555530-1321985629@g.us": "#whatsedo", + "34555555125": "Whatsedo_wa", + "34555555530": "person1", + "34555555373": "person2", + "34555555806": "person3", + "34555555565": "person4", + "34555555602": "person5" + }, + "config": { + "wa_phone": "34555555125", + "wa_password": "Your_whatsapp_password", + "irc_nick": "Whatsedo_wa", + "irc_server_name": "irc.server", + "irc_server_port": "6667", + "bot_owner_nick": "person1", + "log_file": "log.txt" + } +} diff --git a/docs/README.txt b/docs/README.txt index ed20f46..98060a7 100644 --- a/docs/README.txt +++ b/docs/README.txt @@ -7,3 +7,7 @@ Installation: 1. Make your own willie configfile by copying conf/whatsedo-example.cfg to conf/whatsedo.cfg + +2. Do the same for the file conf/whatsapp.json + +3. Change the settings in your new conf/whatsapp.json. The values has to be the same as in your conf/whatsedo.cfg file.