slack-channel-active-reminder

remind non acctive channel at slack

Usage no npm install needed!

<script type="module">
  import slackChannelActiveReminder from 'https://cdn.skypack.dev/slack-channel-active-reminder';
</script>

README

slack-channel-active-reminder

npm version Build Status dependencies Status devDependencies Status Known Vulnerabilities styled with prettier

Install

npm install slack-channel-active-reminder

Usage

const CronJob = require("cron").CronJob;
const Reminder = require("slack-channel-active-reminder").default;

const reminder = new Reminder();

const job = new CronJob({
  cronTime: "0 00 18 * * 1-5",
  onTick: function() {
    reminder.postRemindMessage();
  },
  start: false,
  timeZone: "Asia/Tokyo"
});
job.start();

License

MIT