{"id":18829064,"url":"https://github.com/amay077/timecardbot","last_synced_at":"2026-04-19T04:31:11.176Z","repository":{"id":138393579,"uuid":"98751874","full_name":"amay077/TimecardBot","owner":"amay077","description":"終業時刻になると「仕事終わった？」と聞いてくる Skype ボットです。","archived":false,"fork":false,"pushed_at":"2018-03-17T11:47:23.000Z","size":877,"stargazers_count":3,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T15:05:50.900Z","etag":null,"topics":["azure","azure-functions","azure-table-storage","bot","bot-framework","c-sharp","dotnet","skype","skypebot","slack","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amay077.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-29T18:32:35.000Z","updated_at":"2018-03-17T11:47:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b49acc3-b73c-480d-a466-0c1145af353e","html_url":"https://github.com/amay077/TimecardBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amay077/TimecardBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amay077%2FTimecardBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amay077%2FTimecardBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amay077%2FTimecardBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amay077%2FTimecardBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amay077","download_url":"https://codeload.github.com/amay077/TimecardBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amay077%2FTimecardBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31994883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-functions","azure-table-storage","bot","bot-framework","c-sharp","dotnet","skype","skypebot","slack","slack-bot"],"created_at":"2024-11-08T01:39:48.039Z","updated_at":"2026-04-19T04:31:11.148Z","avatar_url":"https://github.com/amay077.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"タイムカードボット (TimecardBot)\n---\n\n毎月ですね、弊社では月末になるとその月の日報提出させられるんですよ、EXCELで。\nその時、日毎の終業時刻を記入するのが面倒なんですね。\n中には OS のシステムログからシャットダウンした時刻を抽出して終業時刻にするひとも居ますね。\nそれも面倒なので。\n\n弊社では、ほぼ Skype を常時起動させているので、Skype のボットが仕事が終わったかを聞いてくれるようにしました。\n\n![screenshot](screenshot_01.png)\n\n* 終業時刻になると「仕事終わった？」と聞いてきます。\n  * それに「はい」と答えるとその日の終業時刻が記録されます。\n  * 「いいえ」と答えると、３０分後にまた聞いてきます。\n  * 「うぜぇ、今日は徹夜なんだよ」という人は「d」と答えるとその日はもう聞いてきません。\n  * 仕事が休みだったら「今日は休み」と答えてあげてください。\n* Botが聞き始める時刻、聞くのを諦める時刻はユーザー毎に設定できます。\n\nこれは Microsoft の Bot Framework と Azure Functions を使用して作成されています。\n* ３０分おきに「聞く」のは Azure Functions の Timer Trigger でやってます\n* その他、Bot の基本的な機能は Bot Application でできています\n* 情報の保存は Azure Table Storage を使っています\n\nBot Framework のおかげで、次のチャットサービス?に対応しています\n* Skype\n* Slack\n\n[他にも対応できる](https://docs.microsoft.com/en-us/bot-framework/portal-configure-channels) ようだけど、まあニーズがあれば。\nいろいろやりたいことは [issues](https://github.com/amay077/TimecardBot/issues) に書いていくので、なにかあればどなたでも追加やコメントください。\n\nVisual Studio 2017 preview 2 と Bot Framework Template や Bot Framework Emulator があれば、このリポジトリを clone して手元で動作させられると思います（preview 2 が必要なのは Azure Functions の方なので、Bot だけなら普通の VS2017 でいけます）。\n\nSkype と Slack の BOT は準備ができたら一般向けに公開するつもりなので、もうしばらくお待ち下さい。\n\n\nBot Icon from [いらすとや](http://www.irasutoya.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famay077%2Ftimecardbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famay077%2Ftimecardbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famay077%2Ftimecardbot/lists"}