var botkit = require('botkit');

var token = process.env.BOTKIT_SLACK_VERIFY_TOKEN;
var controller = botkit.slackbot({
  debug: false
}).configureSlackApp({
  clientId: process.env.BOTKIT_SLACK_CLIENT_ID,
  clientSecret: process.env.BOTKIT_SLACK_CLIENT_SECRET,
  scopes: ['commands']
  }
);
controller.setupWebserver(process.env.PORT,function(err,webserver){
  controller.createWebhookEndpoints(controller.webserver);
  controller.createOauthEndpoints(controller.webserver, function(err, req, res) {
    if (err) {
      res.status(500).send('Error: ' + JSON.stringify(err));
    } else {
      res.send('Success!');
    }
  });
});

controller.on('slash_command', function(bot, message) {
  if (message.token !== token) {
    return bot.res.send(401, 'Unauthorized');
  }
  switch (message.command) {
  case '/remindja':
    var choices = message.text.split(',');
    var choice = choices[Math.random() * choices.length | 0];
    bot.replyPublic(message, `\/remind #general hi today`);
    break;
  }
});
@@ -795,16 +795,18 @@
 mand) %7B%0A
+  
   case '
@@ -817,16 +817,18 @@
 indja':%0A
+  
     var 
@@ -858,24 +858,26 @@
 split(',');%0A
+  
     var choi
@@ -930,16 +930,18 @@
 0%5D;%0A    
+  
 bot.repl
@@ -945,14 +945,8 @@
 eply
-Public
 (mes
@@ -990,15 +990,92 @@
     
+  
 break;%0A
+    /*%0A    case '/curl':%0A      var uri = message.text;%0A      break;%0A    */%0A
   %7D%0A

change reply method