A Slack command for Swish running as Cloud Functions.
/swish 07300000000 85 Thanks for lunch!
> npm install
> cp config_sample.json config.json
> # edit config.json
> gcloud beta functions deploy swishMe --trigger-http
> gcloud beta functions deploy imageURL --trigger-http
{
"SLACK_TOKEN": "", // You will get this from Slack when setting up your application.
"SWISH_QR_URL": "", // The Swish QR code URL.
"IMAGE_FUNCTION": "", // The URL of the *imageURL* function.
"CIPHER": "" // Used to encrypt the message from *swishMe* to *imageURL*.
}