How could I create a Slackbot that pops up a warning message?

265 views Asked by At

How do I create a Slackbot that pops up a warning message (like a dialog box) when someone is about to type a message in a particular channel in Slack.

1

There are 1 answers

2
Robert Hafner On

Slack doesn't allow dialog or modal boxes to appear without some sort of direct interaction (such as a slash command or clicking a button). This is meant to prevent third parties from spamming users.

If you have rules about who can speak when in a channel you might want to look at onboarding messages, which are pretty useful.