{"id":24969419,"url":"https://github.com/intrepidpursuits/kevinbot","last_synced_at":"2025-03-29T04:47:55.307Z","repository":{"id":16814177,"uuid":"19573238","full_name":"IntrepidPursuits/KevinBot","owner":"IntrepidPursuits","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-21T16:41:02.000Z","size":72,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":53,"default_branch":"master","last_synced_at":"2025-02-03T14:46:20.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://intrepid.io","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntrepidPursuits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-08T12:53:17.000Z","updated_at":"2021-07-20T17:40:10.000Z","dependencies_parsed_at":"2022-08-04T11:15:17.292Z","dependency_job_id":null,"html_url":"https://github.com/IntrepidPursuits/KevinBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2FKevinBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2FKevinBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2FKevinBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntrepidPursuits%2FKevinBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntrepidPursuits","download_url":"https://codeload.github.com/IntrepidPursuits/KevinBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140551,"owners_count":20729798,"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":[],"created_at":"2025-02-03T14:38:01.152Z","updated_at":"2025-03-29T04:47:55.290Z","avatar_url":"https://github.com/IntrepidPursuits.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kevinbot 2.0\n\nThis is kevinbot. He is the chatbot at Intrepid.\n\n## Start\n\n`ruby kevinbot.rb`\n\n## Make a new command\n\n### Create a new class named the same as your command inheriting from `BaseCommand`. For example, if your command is `/mycoolcommand`:\n\n###### commands/mycoolcommand.rb\n```ruby\nclass Mycoolcommand \u003c BaseCommand\n  #...\nend\n```\n\n### Craft your response to Slack in the `perform` method:\n\n###### commands/mycoolcommand.rb\n```ruby\nclass Mycoolcommand \u003c BaseCommand\n  def perform\n    text = 'Look how cool this is'\n  end\nend\n```\n\n### Send it back to Slack with the `respond` method:\n\n###### commands/mycoolcommand.rb\n```ruby\nclass Mycoolcommand \u003c BaseCommand\n  def perform\n    text = 'Look how cool this is'\n\n    respond(text)\n  end\nend\n```\n\n### Make a new slash command on [Slack](https://intrepid.slack.com/services/new/slash-commands) with these settings:\n\n| Field   | Value                              |\n|:--------|:-----------------------------------|\n| Command | `/rave`                            |\n| URL     | `https://kevinbot2.herokuapp.com/` |\n| Method  | **POST**                           |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrepidpursuits%2Fkevinbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintrepidpursuits%2Fkevinbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrepidpursuits%2Fkevinbot/lists"}