Post all new Reddit modmail to a Slack channel.
In the reference (/r/VolunteerLiveTeam) installation, Modmail2Slack is installed as a webtask. Your subreddit must be using the new modmail.
- Go to reddit settings and create an app. Select type "Script". Make a note of the ID and secret. (ID is under "personal use script").
- Create a reddit user, give it mail permissions on your subreddit, and add it as a user of your app.
- Add an incoming webhook to your Slack team.
$ cp setup.example.sh setup.sh
- Edit the values with !!EXCLAMATION MARKS!! around them.
- Install the webtask CLI:
$ npm install -g wt-cli
- Log in to Webtask:
$ wt init
- Run the bot:
$ ./setup.sh
And away you go!
If we release an update, simply download the latest version of vlt-modmail.js
and rerun the setup command.
Modmail2Slack is developed by Marks Polakovs for the Volunteer Live Team, licensed under the MIT license. © 2017 Marks Polakovs