8000 GitHub - sellsecure/alfredbot-slack: A slackbot use to do daily standup automatically
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sellsecure/alfredbot-slack

8000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred bot for Slack By SELL secure

What is it doing ?

Alfred check all users in a channel (see config part) to send them some questions to do a report. Alfred send it every at the same time and respect the timezone of the user.

How to config Alfred ?

Copy the config.js.dist to < 6CCF strong>config.js at the root path, and update these settings with your own data :

var config = {

    slack : {
        botName : 'alfredbot',
        // Put the token api of your bot in slack
        token : 'your_bot_token'
    },

    schedule : {
        // Hour and minute to schedule the submission of the report
        hour : 9,
        minute : 30
    },

    // Name of the channel where Alfred picks its user list (every hour)
    channel : 'your_channel_name',

    // Name of the SQLite DB, stored in the data folder of Alfredbot
    dbName : 'alfredbot.db'
};

First Launch

At the first launch, exec :

npm start

this command will check if the database exists, if not it will create it.

How to do a daemon with this script

-> Read README in daemonize folder

TODO

  • list question with command line
  • edit question with command line
  • add question with command line
  • remove question with command line
  • internationalize the bot (some text are hardcoded in french...)

About

A slackbot use to do daily standup automatically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0