{"id":13819827,"url":"https://github.com/Virtual-Coffee/bot-meetingplace-events","last_synced_at":"2025-05-16T07:32:10.145Z","repository":{"id":42969472,"uuid":"309367301","full_name":"Virtual-Coffee/bot-meetingplace-events","owner":"Virtual-Coffee","description":"A friendly bot to give us a heads up when the next events are.","archived":true,"fork":false,"pushed_at":"2022-03-25T19:58:09.000Z","size":70,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-15T15:02:17.608Z","etag":null,"topics":["github-actions","heroku-scheduler","meetingplace","ruby","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/Virtual-Coffee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-02T12:45:59.000Z","updated_at":"2023-01-28T02:07:27.000Z","dependencies_parsed_at":"2022-08-26T17:11:35.991Z","dependency_job_id":null,"html_url":"https://github.com/Virtual-Coffee/bot-meetingplace-events","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtual-Coffee%2Fbot-meetingplace-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtual-Coffee%2Fbot-meetingplace-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtual-Coffee%2Fbot-meetingplace-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtual-Coffee%2Fbot-meetingplace-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Virtual-Coffee","download_url":"https://codeload.github.com/Virtual-Coffee/bot-meetingplace-events/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254488359,"owners_count":22079416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["github-actions","heroku-scheduler","meetingplace","ruby","slack-bot"],"created_at":"2024-08-04T08:00:53.614Z","updated_at":"2025-05-16T07:32:09.651Z","avatar_url":"https://github.com/Virtual-Coffee.png","language":"Ruby","funding_links":[],"categories":["Happy Exploring 🤘"],"sub_categories":[],"readme":"# Archived\n\nHey there. Virtual Coffee isn't using this package any more, so we've archived it. Please feel free to fork and use on your own!\n\nWe miss you, Mike. ❤️\n\n\n---\n\n# Bot : MeetingPlace Events\n\nThis friendly bot reports when the next event is in our Slack.\n\nIt pulls the data from the [MeetingPlace API](https://meetingplace.io/api/v1/group/virtual-coffee/events.json).\n\n## Sample Output\n\n![Slack Message showing this weeks events](https://user-images.githubusercontent.com/325384/123550836-fbefcc80-d734-11eb-9519-ce0642abdd28.png)\n\n![Daily Reminder \u0026 Pre Event reminder](https://user-images.githubusercontent.com/325384/123550882-204ba900-d735-11eb-824c-b431cddc9f4d.png)\n\n```\n📅 *Next Event:* Virtual Coffee - Morning Crowd\nStarting in 10 minutes! \u003chttps://meetingplace.io/virtual-coffee/events/3185|View Details\u003e\n```\n\n## Setting up\n\nThe bot runs on a schedule as managed by Heroku Scheduler (We did try GitHub Actions, but they proved unreliable at running on time). It requires the following [secrets](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets) to be setup:\n\n| Secret            | Source                                                      | Purpose                                   |\n| ----------------- | ----------------------------------------------------------- | ----------------------------------------- |\n| `SLACK_API_TOKEN` | [Bot User OAuth Access Token](https://api.slack.com/apps/)  | This allows us to post as a bot to slack  |\n\n### Slack Bot Token Scopes\n\nThe following scopes need to be added to your Slack Bot to allow it to post messages.\n\n| Scope               |\n| ------------------- |\n| `chat:write.public` |\n| `channels:read`     |\n| `chat:write`        |\n\n## Scheduled Messages\n\nCurrently there are three scheduled tasks which run:\n\n| Rake Task                              | When it should be run                | Purpose                                               | Crontab      |\n| -------------------------------------- | ------------------------------------ | ----------------------------------------------------- | -------------|\n| `virtual_coffee_bot:next_event`        | Hourly ~15 minutes before the hour   | Gives a heads up that a new meeting is about to start | `45 * * * *` |\n| `virtual_coffee_bot:todays_events`     | Every morning at 8am (Except Monday) | Tells us in the morning an event will happen that day | `0 8 * * *`  |\n| `virtual_coffee_bot:this_weeks_events` | Every Monday at 8am UTC              | Lists all the meetings starting that week             | `0 8 * * *`  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVirtual-Coffee%2Fbot-meetingplace-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVirtual-Coffee%2Fbot-meetingplace-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVirtual-Coffee%2Fbot-meetingplace-events/lists"}