ddacunha / MMM-SlackAnnouncements

Slack announcements module for Magic Mirror 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hacker Home Mountain View Presents...

alt text

MMM-SlackAnnouncements

MagicMirror2 made.

Dependencies

Usage

Point the module at the desired Slack channel (not the channel name, but the ID) and give it a slackToken with valid permissions (authorized to read channel histories), and it will display the latest message on the channel on your mirror as an announcement.

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Configure your ~/MagicMirror/config/config.js:

    {
        module: 'MMM-SlackAnnouncements',
        position: 'top_right',
        config: {
               // See 'Configuration options' for more information.
           }
    }
    

Configuration Options

Option Default Description
updateMs 3000 Milliseconds in between announcement message refresh
channel [MUST SET] Slack channel to listen for announcements on
slackToken [MUST SET] Slack API token (must be authorized for channel.history)

About

Slack announcements module for Magic Mirror 2

License:MIT License


Languages

Language:JavaScript 100.0%