Questions tagged [slack-commands]

This tag can be used for questions specific to slack 'Slash Commands'

225 questions
0
votes
1 answer

"memoryDataStore is not a constructor" error in node js

I am starting slack development with node. Following a tutorial I got an error message . I tried several sources but I still cannot spot my mistake I am simply trying to print the bot and channel names the version of node installed is 10…
Coder
  • 121
  • 9
0
votes
1 answer

Using Slack slash command to run local app

I want to write a Slack command to open Skype For Business (SfB). The command will be something along the lines of: /sfb my.colleague@company.com SfB recognises the sip protocol, so I can type sip:my.colleague@company.com in my browser and it will…
Kev
  • 2,656
  • 3
  • 39
  • 63
0
votes
1 answer

How to make Slack Bot not respond to all the messages in the private group?

I want my bot to respond only if anyone mentions its name like @mybot. How to achieve this?
Mohamed Naveen
  • 131
  • 1
  • 4
  • 8
0
votes
0 answers

Slack integration: link slack user and user from 3rd party Web service

I have some Web Service (for example, Twitter). This service already has users, so every user has account. I want to provide ability for user to enter something like that in slack: /tweet "Amazing tweet sent from Slack" And this tweet should…
EvilOrange
  • 876
  • 1
  • 9
  • 17
0
votes
1 answer

I want to turn a slash command in Slack into an interactive button

I have a Slack channel created with a Slack app. In the channel, I can enter /leave and I leave the channel, but I want to have an interactive button in my app that will do the same thing as /leave so a user just needs to click the button instead of…
Rizzo95
  • 1
  • 1
0
votes
1 answer

Slack sends invalid, mal-formed JSON data after Dialog interaction

I am working on a slash command that'll invoke a dialog. $dialog = [ 'callback_id' => 'ryde-46e2b0', 'title' => 'Request a Ride', 'submit_label' => 'Request', 'elements' => [ [ 'type' =>…
JasonGenX
  • 4,952
  • 27
  • 106
  • 198
0
votes
0 answers

Get selected values from message menu or drop-down on click of a button in a slack interactive message or attachment

I have a slack message with two actions: Message Menu, i.e. dropdown Button I would like to: Select a value from the message menu or drop-down. Click the button. On clicking this button, I would like to get the value of the selected value from…
0
votes
1 answer

Is it okay to disable CSRF for slack slash command api mad in Django?

Is it disabling CSRF functionality the best practice for Slack slash command server? I want to call an API view function in Django by a Slack slash command, for example, /test. When I call the URL for the view function with any browser (so it is a…
0
votes
1 answer

Need to run part of code after response send to slack

Wrote a flask app which do some job (can last up to 3 hours) and then sends response to slack via slack incoming webhook. application is being called via slack slash command, to which I must response within 3000ms, otherwise it throws an timeout…
Ahnenerbe
  • 303
  • 1
  • 3
  • 16
-1
votes
1 answer

Send response as code snippet for slack slash command

I am creating a slack slash command and I want to return a javascript object (a JSON response from another api call) as code. ---EDIT--- I can send a markdown response using the code below. The issue now is that I cannot show JSON / JavaScript…
cbutler
  • 1,111
  • 5
  • 16
  • 32
-1
votes
1 answer

Configure message for new user in slack group

I have a slack group and I want to show some welcome message and rules and regulations to follow to new members. Is there a way to do it? Sorry if I have asked it on wrong platform, in this case where can I ask such question?
kapil sarwat
  • 97
  • 1
  • 8
-1
votes
1 answer

How to make sure that slack won't send a message even if I press enter?

Looks like most slack questions deal with sending issues. I have the opposite. In the olden days, when I was using outlook emails, I would simply add a xxx@xxx.com in the sender's list. That way, even if I click send by mistake, the mail won't be…
-1
votes
1 answer

Slack bot request validation not working for button actions.If we have bold formatting tag * in the block kit U

I have created a bot response using block-kit UI. In the message included one text message and button elements.For the text I applied bold formatting using *. So the message shown in the slack channel with the bold character as of now it is fine .…
Pandari Ch
  • 17
  • 5
-2
votes
1 answer

Slack bot private channel post messages

I'm developing a slack bot for my company. I can't find any information on this topic - when a user types slash command in private channel how to make similar response from slackbot To use /github, add @GitHub to this conversation.?
-3
votes
1 answer

Send user config to slack of an individual user

Related to my assigned project, I wrote a bash script to implement the task. For the user account and secret/hash creation part, the manager told me to find a way to send the user config file content directly to the individual user's slack(not a…
vjwilson
  • 754
  • 2
  • 14
  • 30
1 2 3
14
15