Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.3 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.3 KB

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
title Announcements Title for the module
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)