Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

slackbot-is-president-__

node v10.24.1
version: 3.0.0
endpointsharetweet
require('@runkit/runkit/express-endpoint/1.0.0')(exports) .post('/', require('body-parser')(), (req, res) => { res.json({ text: `_${req.body.text}_?\n*${Math.ceil(Math.random()*100)}% sure ${Math.random()>0.5?'YES':'NO'}!*`, response_type: 'in_channel' }) })
Loading…

no comments

    sign in to comment