Python script which automatically sends Christmas/New Year's messages from a custom messages list on Whatsapp, Facebook Messenger or via SMS in a given time range, to a custom contacts list. Time to work smart, not hard.
Strongly inspired by my other project RomanceBreaker, introducing Christmas Spirit Breaker, a python script which automatically sends a custom christmas/new year's greeting message, from a custom messages list, to your selected contacts you want to mantain good relationships with, at given time range on Facebook Messenger, WhatsApp, Telegram or via SMS. Time to be bad boys this christmas. Work smarter, not Harder.
Santa relies on reindeers for delivery, and so does Christmas Spirit Breaker rely on a few things, here is what to do to get them:
Run these commands in your preferred terminal application
sudo apt-get install python3-pip
pip3 install fbchat bs4
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
pip install fbchat bs4
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
From Android you will only be able to run the Facebook Messenger version, here are the instructions:
termux-setup-storage
and allow storage accesscd storage/downloads
pkg install python3 git
pip3 install fbchat requests bs4 enum
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
Please note that every time you restart your device, you will have to re run the commands in the How to run section
Santa relies on reindeers for delivery, and so does Christmas Spirit Breaker rely on a few things, here is what to do to get them:
Run these commands in your preferred terminal application
sudo apt-get install python3-pip
pip3 install telethon bs4
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
pip install telethon bs4
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
From Android you will only be able to run the Facebook Messenger version, here are the instructions:
termux-setup-storage
and allow storage accesscd storage/downloads
pkg install python3 git
pip install fbchat requests bs4 enum
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
Please note that every time you restart your device, you will have to re run the commands in the How to run section
Santa relies on reindeers for delivery, and so does Christmas Spirit Breaker rely on a few things, here is what to do to get them:
ChristmasSpiritBreaker-andNewYearsToo
folderRun these commands in your preferred terminal application
sudo apt-get install python3-pip xclip
sudo pip3 install selenium bs4 pyperclip
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
pip install selenium bs4 pyperclip
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git
First go to the program directory by typing in the terminal:
cd ChristmasSpiritBreaker-andNewYearsToo
cd storage/downloads/ChristmasSpiritBreaker-andNewYearsToo
Then run the script with the according argument:
python3 christmasSpiritBreaker.py -w
or python3 christmasSpiritBreaker.py whatsapp
python3 christmasSpiritBreaker.py -m
or python3 christmasSpiritBreaker.py messenger
python3 christmasSpiritBreaker.py -s
or python3 christmasSpiritBreaker.py sms
python3 christmasSpiritBreaker.py -t
or python3 christmasSpiritBreaker.py telegram
Also other arguments exist like:
python3 christmasSpiritBreaker.py -h
or python3 christmasSpiritBreaker.py help
or python3 christmasSpiritBreaker.py man
python3 christmasSpiritBreaker.py update
For Android users: you will also need to press "ACQUIRE WAKELOCK"
in the Termux notification to enable the script to run in the background withoutthe process being killed
Android right now only supports Facebook Messenger mode
Android users may want to edit the config.py
file with their preferred text editing app as the file will be in the Downloads folder of their devices
Simply open the config.py
file with your preferred text editing app and follow the instructions there, I think I made them clear enough
If you don't want to use the bot for both christmas and new years you can disable the fatures individually by setting to False
the lines
christmasModeEnabled = True # Change to False to disable Christmas mode
newYearsModeEnabled = True # Change to False to disable New Year's mode
Replace the messages in between " "
with your own custom messages, you can also add more custom messages by adding after the "
of the last message a comma and a new message, always in between " "
s.
If we want to add New custom message
to the list below
christmas_messages = ["Merry christmas!"]
We just need to edit it like this:
christmas_messages = ["Merry christmas!", "New custom message"]
Important:
Replace the contact names in between " "
with your own custom contact names, you can also add more custom contacts by adding after the "
of the last contact a comma and a new contacts, always in between " "
s.
If we want to add Santa Claus
to the list below
christmas_contact_names = ["John McAfee"]
We just need to edit it like this:
christmas_contact_names = ["John McAfee", "Santa Claus"]
The christmas messages will be sent on December 25th
The new years messages will be sent on January 1st
If we want to change the christmas time range we have to edit this line:
christmas_time_interval = ["08:00", "23:59"]
If we want to change the new year's time range we have to edit this line:
newYears_time_interval = ["00:00", "00:15"]
Make sure the hour is always two digits
api_id
and api_hash
parameters required for user authorization (to put in the config.py file).If you have any trouble with your setup feel free to message me on Telegram @lorcalhost