A small bot, that allows to send one message to many users at the same time.
- Open resending menu:
- Via message shortcut
Point mouse on any message >
More actions
(three dots) >Resend message
. If no such option, select "More message shortcuts.." and select it from the list. - Via slash command
In any chat just type
/resend <message>
(<message>
may be empty here).
- Via message shortcut
Point mouse on any message >
- Write/correct message if needed.
- Select adressees - specific users or channels. Warning, selecting chat means you wand to send direct message to its every member, but channel will not get this message.
- If you want to select all workspace (team) members and guests - select
Send to all users in workspace
. Note, that previously selected addressees will be ignored. - If you want to schedule message for specific time in future - select
Send later
and choose date and time at the bottom of menu. - You may send message as bot (anonimously) or as you, according to
Choose sender
setting. - You may limit addressees to team members or guests according to your
Limit sending to
setting - Click
Submit
and you will get confirmation message from the bot if sending were successful or who did not get your message (if there were any troubles).
That`s all)
To deploy this bot to your heroku you should:
- Create Slack app here: https://api.slack.com/apps
- Click Create new app > From manifest and load app_config.json as manifest.
- Create app in Heroku: https://dashboard.heroku.com/apps
- Add addon Heroku Postgres: https://elements.heroku.com/addons/heroku-postgresql
- Set Heroku app environment variables in Your app > Settings > Reveal config vars.
- NODE_ENV = production
- SLACK_CLIENT_ID, SLACK_CLIENT_SECRET and SLACK_SIGNING_SECRET can be get from your Slack app settings "Basic information" page.
- Deploy app to Heroku from this repo.
- Modify Slack app manifest URLs with your app's URL
(for example, change
https://your-app.herokuapp.com/slack/interactive-endpoint/slash
tohttps://ethical-resended.herokuapp.com/slack/interactive-endpoint/slash
) - Save changes to manifest and verify URL.
- Head to Slack app Manage Distribution page, click Install app and allow Public distribution if needed.
That's all)