https://github.com/guerrerocarlos/packtpub-slack-robot
Script for automatically sending today's free Packtpub to a Slack Channel
https://github.com/guerrerocarlos/packtpub-slack-robot
Last synced: 4 months ago
JSON representation
Script for automatically sending today's free Packtpub to a Slack Channel
- Host: GitHub
- URL: https://github.com/guerrerocarlos/packtpub-slack-robot
- Owner: guerrerocarlos
- Created: 2015-12-11T19:01:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-11T19:10:24.000Z (over 9 years ago)
- Last Synced: 2025-01-07T18:32:49.749Z (5 months ago)
- Language: CoffeeScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
packtpub-slack-robot
====================Allows you to get the Packtpub free book of the day.
Installation
============1. Clone Repo
2. npm install
3. Get Slack api key at https://SLACKCHANNEL.slack.com/services/new/bot
4. Configure the api key as shown inn example file config.EXAMPLE.js but rename it config.js
5. Execute the script:coffee automatic_sending.coffee
6. Add the bot to the channel/group you want it to be, write something in that channel and take note of the ChannelID in the bot log
7. Configure that ChannelID in config.js
8. Execute the script:coffee automatic_sending.coffee
9. Configure it to execute once a day with crontab