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
2
votes
1 answer

No project found with name 'undefined' Botkit + rasa_NLU

I am trying to deploy on Slack a chatbot that I have developed with rasa_nlu and that I can run locally on my computer by launching a python script on a Ubuntu shell. So I am trying to use botkit. I am trying to follow this tutorial…
Vincent
  • 151
  • 3
  • 12
2
votes
1 answer

Recursive new Promise: RangeError: Maximum call stack size exceeded

I'm getting a RangeError: Maximum call stack size exceeded function getUser(userId) { return new Promise((resolve, reject) => { controller.storage.users.get(userId, function(err, user) { if (err) reject(err); if (user) { …
mralanlee
  • 479
  • 5
  • 15
2
votes
2 answers

How to avoid duplicate users from being mentioned by bot within Slack?

So I'm working on a bot for Slack that mentions a random user every week. I get to a point where the bot does exactly that, but I'm not sure how to avoid duplicates. As you can see in the screenshot below, duplicate names are being shown: Here is…
Ralph David Abernathy
  • 5,230
  • 11
  • 51
  • 78
2
votes
1 answer

How to use slack api methods in node.js

Having troubles to get my head around slack apps with node.js. I am using the Starter Botkit (Howdy), hosted on glitch (glitch.com) What I have so far works perfectly, it starts a convo with the user, asks a few questions, one after another and…
turbopasi
  • 3,327
  • 2
  • 16
  • 43
2
votes
3 answers

Slackbot making HTTP requests

I could be overthinking this, but I just wanted a sanity check: I'd like my slackbot to ping my server every minute On receiving a 404, it will stop pinging the server and message me to inform me that the server is down. Would I just...have a…
Anthony Chung
  • 1,467
  • 2
  • 22
  • 44
2
votes
1 answer

Botkit slack - post messages to channel at regular intervals

Could someone explains to me if there is a way to post messages at regular intervals to slack through botkit? I would like to send messages that arrive from a Rabbitmq queue. I've seen that in the project documentation there are just examples that…
Dario
  • 755
  • 1
  • 7
  • 19
2
votes
2 answers

Slack + Botkit: Automatic reconnect after RTM closure

I use Howdy.ai's Botkit for a simple bot application and have it running on node.js on a VPS. Basically, I customized the example for a Slack App from here and am now struggling to keep the bot alive - after some undefined time, the RTM channel to…
2
votes
0 answers

Botkit getting response multiple times

I have created a bot using Botkit and wit.ai. It runs perfectly fine. However, after a certain period of time, I start getting multiple messages from the bot. After I restart the node.js service, it starts working normally. Here's the code I have…
Kishan Rajdev
  • 1,919
  • 3
  • 18
  • 24
2
votes
1 answer

How can I fix Botkit warning "debug: No handler for tick"

Where can I add a handle for tick? It's quite annoying having that spam the logs
JJJ
  • 2,889
  • 3
  • 25
  • 43
1
vote
0 answers

throw new Error('bot.startConversationWithUser(): missing serviceUrl.');

controller.hears('dm me', 'message', async(bot, message) => { await bot.startConversationWithUser(message.reference); await bot.say('Hello! (in private)'); }); I'm using botkit to send message on Slack but I'm getting this…
samsonmarandi
  • 61
  • 1
  • 6
1
vote
0 answers

slack botkit - `hears` on a specific slash command doesn't work

I am trying to develop a slack bot using slack botkit and i have a problem while trying to handle slash commands. I am using the following syntax that i took from the support slack of the slack botkit. controller.hears('/tempo', 'slash_command',…
Eitank
  • 570
  • 8
  • 21
1
vote
1 answer

Is there a way to encrypt data with Slack's API?

I am using Botkit to create a Slack bot. This bot will make calls to another service which requires different credentials. I would like to let the user securely store & retrieve this other service's credentials using their Slack credentials. I would…
James W
  • 39
  • 5
1
vote
0 answers

Botkit Help Required

What are you trying to achieve? I am trying to get the status of the ticket and the function is working perfectly. I am unable to find how to pass the value of ticket id to function using botkit. When I directly run the javascript function I am…
tinu
  • 11
  • 1
1
vote
0 answers

Deploying botkit framework to azure and testing in the webchat returns 502

For my internship I am making a chatbot. I created a bot using botkit framework (yo botkit) and got as far as using it in the ms Teams client. But only using my localhost + ngrok setup. when I want to use…
1
vote
1 answer

Location Quick Reply is now deprecated on API 4.0. Please refer to our Developer Documentation for more info

I would like to get Facebook messenger location as a quick reply but I can not,I'm using messenger V5. It's returning: Location Quick Reply is now deprecated on API 4.0. Please refer to our Developer Documentation for more info. I referred to…
1 2
3
11 12