Forked from stir.
- Changed the Random Message Display to Last Message only.
- Removed '@' from Usernames
This is a module integrating Slack in MagicMirror². It displays messages from the a given Slack channel in config.js. The module also supports update and delete messages
Remote into your MagicMirror box using a terminal software and go to the application folder:
cd ~/MagicMirror
Clone the repository:
git clone https://github.com/nrkno/MMM-Slack
Install dependencies:
npm install
Add the module to the modules array in the config/config.js file by adding the following section. You can change this configuration later when you see this works:
{
module: 'MMM-Slack',
position: 'lower_third',
config: {
slackToken: 'YOUR_SLACK_TOKEN_GOES_HERE',
slackChannel: 'THE_CHANNEL_YOU_WANT_MESSAGES_FROM'
}
},
Option | Comment | Default |
---|---|---|
slackToken | You must create a test token for the [Slack API](https://api.slack.com/tokens) | aaaa-bbbbb-ccccc-dddd-12344 |
slackChannel | Which Slack channel you want to display messages from | test |
showUserName | If true, the message sender's user name will be displayed with the message | true |
showLatestMessageOnStartup | If true, the latest message in the channel will be displayed on startup | false |