A Secret Santa script using Nexmo (SMS) api.
You will need :
Then, install the dependencies :
$ cd path/to/SecretSanta/
$ yarn
First, set your own contacts configuration
$ cp config.sample.json config.json
$ edit config.json
Then start the send script
$ yarn send
If something happened, you can use the sendMessage()
function to resend message based on the backup file.