Questions tagged [botkit]

Botkit is a toolkit for making bot applications. Botkit is designed to ease the process of designing and running useful, creative bots that live inside Slack, Facebook Messenger and other messaging platforms.

It provides a semantic interface to sending and receiving messages so that developers can focus on creating novel applications and experiences instead of dealing with API endpoints.

Botkit features a comprehensive set of tools to deal with popular messaging platforms, including:

  • Slack
  • Facebook Messenger
  • Twilio IP Messaging

GitHub project: https://github.com/howdyai/botkit

174 questions
1
vote
0 answers

Botkit Slackbot returns error "not_authed" when starting RTM connection

I have a slack bot that i wrote in Jan-Mar 2017. However, when I make a new bot with the same code and start it, i get the error "not_authed". I've debugged the issue and my token is good (ie, if i make a https://slack.com/api/rtm.connect POST call…
TheMainJoy
  • 81
  • 2
  • 4
1
vote
1 answer

Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration

I have followed every step for installation given in Installing Passenger + Apache on a Linux/Unix production server for Node.js apps + Red Hat 6 / CentOS 6 (with RPM) and everything worked but when I am trying to configure my subdomain in…
aidonsnous
  • 1,475
  • 4
  • 19
  • 41
1
vote
0 answers

How to host botkit bot/app on ec2?

Has anyone here hosted a botkit app on ec2 instance? If yes, could you tell me how? I see options to host it on glitch/heroku but i want to host it on ec2.
user461112
  • 3,811
  • 3
  • 20
  • 25
1
vote
1 answer

watson conversation - slack bot, textformatting

I am having trouble formatting the slackbot responses. The slactbot is connected with watson conversation through botkit (https://github.com/watson-developer-cloud/botkit-middleware). Thanks a lot My ultimate goal is to format a JSONArray as a list…
soulless
  • 383
  • 1
  • 5
  • 18
1
vote
3 answers

Domains are not being added, Whitelist domains facebook messenger extension

I've been trying to whitelist my domains following the instruction that is given by facebook but nothing is working. I first tried with curl, the response is {result:"success"} but when I try to list the domains that are whitelisted I am getting…
1
vote
1 answer

botkit-sms: Integrating middleware plugin

I'm trying to api.ai middleware plugin with botkit-sms, I'm tryting to debug the source code, why this isn't working, but will be helpful if you can provide some input Source code of the library https://github.com/krismuniz/botkit-sms/ var apiai =…
Somasundaram Sekar
  • 5,244
  • 6
  • 43
  • 85
1
vote
1 answer

How to send a message with a random @mention on Slack using BotKit?

I'm new to developing bots and trying to use BotKit within Slack to mention a random user in the #test channel every week. Here is the code I have so far: controller.hears('interactive', 'direct_message', function(bot, message) { // send…
Ralph David Abernathy
  • 5,230
  • 11
  • 51
  • 78
1
vote
1 answer

How can I scale Botkit application

I new to botkit. Still exploring the framework. How does the botkit scale? Can I set up multiple server and route request randomly? Will the context be preserved if each user requests end up in different server?
Tridib
  • 61
  • 1
  • 5
1
vote
0 answers

Howdy BotKit to Microsoft Bot Framework

We have used Ms Bot framework and we like the functionality it provides. On looking at BotKit (https://github.com/howdyai/botkit), bot kit support FB Messenger and MS Bot Framework, Twilio,Slack. MS Bot Framework itself supports Facebook Messenger…
tx fun
  • 569
  • 5
  • 19
1
vote
2 answers

Open two different ports in Heroku app

I'm currently using botkit-sms with Node and Express, deployed on Heroku to create a mobile application that can send SMS messages to users who aren't yet signed up. In my server.js file, I open ports for the API and the messaging bot, which works…
user3802348
  • 2,502
  • 11
  • 36
  • 49
1
vote
1 answer

Botkit and https secure endpoint, is a certificate mandatory?

I'm building a custom slack app with botkit framework and I'm trying to add a interaction button in my Bot/App. I don't really catch one thing, as the botkit framework provides a way to have a webhook entry and setuped server to receive oauth…
Viot Camille
  • 197
  • 1
  • 1
  • 10
1
vote
1 answer

How to use botkit to send a message at a certain time?

After looking through the documentation of Botkit I don't see a way for a bot to initiate a message to a channel by itself at a certain time. What I've tried doing is providing a callback function to the .startRTM function that does what I want it…
uioporqwerty
  • 317
  • 5
  • 22
1
vote
1 answer

Slack bot - using Botkit to clear old messages

I am using botkit to develop a custom bot that will remove old messages (for example, all messages older than a week). For example, I would say '@custombot delete' while using slack. The new code that I've added to custombot.js…
1
vote
0 answers

Unsubscribing from subscription

Subscribing to all messages: controller.hears('', ['direct_message'], function (bot, message) { //handlign message }); Is it possible to unsubscribe from all messages? Replacing handler function with null doesn't give anything. Documentation…
eleven
  • 6,779
  • 2
  • 32
  • 52
1
vote
1 answer

Facebook Messenger Bot: Detect refocus on conversation?

With my messenger bot, if I send a user a link, and they end up clicking the link which opens their web browser outside the Facebook Messenger App, is it possible to detect when the user has re-entered the conversation? Is there an API call that…