This file contains 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 characters
function irucaAutoLogout() { | |
var iruca_room_code = "XXX"; | |
var slack_url = "https://hooks.slack.com/services/XXX/XXX/XXX"; | |
var data = JSON.parse(UrlFetchApp.fetch("https://iruca.co/api/rooms/" + iruca_room_code + "/members", {'method':'get', 'muteHttpExceptions':true})); | |
var update_flg = false; | |
var urlFetchOption = {}; | |
var update_members = ""; | |
NewerOlder