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

Facebook Graph API: (#100) Attachment size exceeds allowable limit

I am uploading an attachment of type video which is around 17MB but somehow facebook is saying it's exceeding the filesize allowed which is 25 MB. I am getting the following error while trying to upload the video (#100) Attachment size exceeds…
Deepak Mahakale
  • 22,834
  • 10
  • 68
  • 88
1
vote
0 answers

How to enable linked file in nginx proxy_pass sites?

I have a server, and 2 Express-based project running on port 3000 and 4000. Landing page has default template nginx html code, with Botkit iframe embed code. Port 3000 Express server is Botkit Starter Guide project, running with no modification. …
Hadi
  • 19
  • 3
1
vote
1 answer

Botkit reply with an image

Hello I was trying to make botkit reply with an image on my callback function but am unsure as to how convo.say() or bot.reply() would handle sending out images. Does anyone have experience making the slackbot replying with images?
1
vote
1 answer

Botkit hoek vulnerability

I cannot figure out how to update a dependent package included in Botkit. After running npm install on the package.json below. Npm warns that the hoek package is vulnerable. I've tried running npm audit fix with no resolution. When I run npm ls…
MikeV
  • 657
  • 1
  • 8
  • 20
1
vote
1 answer

Botkit's hears handler function not replying on slack channel

I'm currently working with slack-starter-chatbot to create a chat bot on Slack. I'm making use of the hears handler functions.On the folder skill/sample_hears.js I have the following code. module.exports = function(controller) { …
Steven Aguilar
  • 3,107
  • 5
  • 39
  • 89
1
vote
1 answer

How to accept multiple vales from Botkit hears method?

Code: controller.hears([map (.*) (.*) into (.*)){ var value = message.match[1]; var source = message.match[2]; var dest = message.match[3]; } when input is map 12 grams to kilograms it works fine but when input is map 12 square…
KNDheeraj
  • 834
  • 8
  • 23
1
vote
0 answers

Slack API: Tracking file processing and batch uploads, file_created vs file_shared events

I have a slack bot built using botkit that is listening for uploaded files from users in a certain channel. I am trying to handle multiple images uploaded simultaneously, in order to have my bot wait for all images to be processed before proceeding…
Eron Salling
  • 185
  • 2
  • 5
1
vote
0 answers

Node.js nforce connection error with Slack client Id

I am in the process of creating a Slack-Salesforce chat bot, and I am currently using node.js and nforce to achieve this. I have the following code snippet for connecting to Salesforce: let org = nforce.createConnection ({ clientId:…
1
vote
0 answers

slackbot replies with duplicate message, when its running on HA

I have developed a slack bot (which is part of my an existing node.js app) which works fine on my dev environment. But as soon as I deployed this on my staging instance of the app, it started responding to me with duplicate message. My staging…
undefined
  • 3,464
  • 11
  • 48
  • 90
1
vote
1 answer

Botkit - Slack interactive messages

I am trying to get all the values from all actions. Currently I have two select actions (Pick a game and Pick a day). In the interactive_messages_callback I am getting the selected value only of the currently modified select. Is there a way to get…
dallion
  • 195
  • 5
  • 16
1
vote
1 answer

Watson Conversation and Facebook Messenger Rich-Text

How to use facebook message templates to offer a rich-text as integrating buttons, images, lists and other facebook messenger features in Watson. I'm following Facebook Messenger Developer but I don't know where should I insert the appropriate code?…
Xirb
  • 85
  • 1
  • 8
1
vote
1 answer

Slack API: channels.create followed by channels.invite/info returns channel_not_found error

I am building a slack bot with botkit and the nodejs slack developer kit. I have a series of api calls, the first to find the users (globalMembers), the second to create a channel based on an array of channels, and a final call to add each user to…
Eron Salling
  • 185
  • 2
  • 5
1
vote
1 answer

Node-slack web api: chat.delete returns channel_not_found for all channels although channels.list returns all channels

I have been working on a simple chat bot using the slack-node web api and botkit, but am having some trouble using the chat.delete functionality. I am able to list out all of my channels properly, seeing their channel Id's and names, but when I try…
Eron Salling
  • 185
  • 2
  • 5
1
vote
1 answer

Slack: How can I remove a message's action buttons without Slack appending "edited"

I have a Slackbot message that has action buttons (see here). When a user click's a button, we perform a bit of work on our server and then use chat.update to remove the action buttons and update the message's footer: removeButtons(reply, convo,…
1
vote
1 answer

Botkit for Slack using regex patterns in conversations

I'm running into an issue using regex patterns in botkit conversations that I can't quite work through, and though I'm sure someone else will have a quick answer, I'm utterly stumped. I'm building a conversation that will store user information in a…
ctgilley
  • 25
  • 6