diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-03-07 23:13:59 +0000 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-03-07 23:13:59 +0000 |
| commit | bde28799c7b487377e3d6bb16c0041b1ed5347ac (patch) | |
| tree | b6235968512ba9426ba34d337b879d546a4aba11 /src/app.js | |
| parent | 3faf1ec00ba8a96b257ed23586e5d048b037e7b6 (diff) | |
don't 'quit'
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ app.post('/sms', (req, res) => { return; } - if (['quit', 'exit', 'unsubscribe'].includes(bodyLowerCase)) { + if (['exit', 'unsubscribe'].includes(bodyLowerCase)) { unsubscribe(senderPhoneNumber); const twiml = new MessagingResponse(); twiml.message(` @@ -76,7 +76,7 @@ app.post('/sms', (req, res) => { const welcomeMessage = ` Well done, ${senderName}! You have successfully subscribed to the Glen Coe meet texting group. You will now be able to send and receive messages - to and from the group. Send 'list' to list participants, and send 'quit' + to and from the group. Send 'list' to list participants, and send 'exit' to unsubscribe. `.replace(/\s+/g, ' '); sendTextMessage([subscription], welcomeMessage); |
