Last active
November 9, 2019 11:54
-
-
Save nesffer/3e786aafc2242d1a96a60edd748dc7f2 to your computer and use it in GitHub Desktop.
Revisions
-
Nesffer revised this gist
Nov 5, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ const schedule = require('node-schedule'); schedule.scheduleJob('0 0 * * * *', () => { var chatParticipantFile = fs.readFileSync('./chat_participant.txt', 'utf8'); var chatParticipant = chatParticipantFile.split('\n'); chatParticipant.forEach((element, index, array) => { if (element) { bot.sendMessage(element, '정각입니다.', {disable_notification: true}); } -
Nesffer revised this gist
Nov 5, 2016 . 2 changed files with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ const schedule = require('node-schedule'); schedule.scheduleJob('0 0 * * * *', () => { var chatParticipantGroupFile = fs.readFileSync('./chat_participant.txt', 'utf8'); var chatParticipantGroup = chatParticipantGroupFile.split('\n'); chatParticipantGroup.forEach((element, index, array) => { if (element) { File renamed without changes. -
Nesffer created this gist
Nov 5, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ const schedule = require('node-schedule'); schedule.scheduleJob('0 0 * * * *', () => { var chatParticipantGroupFile = fs.readFileSync('./chat_participant_group.txt', 'utf8'); var chatParticipantGroup = chatParticipantGroupFile.split('\n'); chatParticipantGroup.forEach((element, index, array) => { if (element) { bot.sendMessage(element, '정각입니다.', {disable_notification: true}); } }); }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ CHAT_ID_0 CHAT_ID_1 CHAT_ID_2 CHAT_ID_3 CHAT_ID_4