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.
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'
};
At the first launch, exec :
npm start
this command will check if the database exists, if not it will create it.
-> Read README in daemonize folder
- 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...)