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