{"id":16364865,"url":"https://github.com/botwayorg/botwaycr","last_synced_at":"2025-10-26T06:30:44.759Z","repository":{"id":41093284,"uuid":"508219962","full_name":"botwayorg/botwaycr","owner":"botwayorg","description":"Crystal client package for Botway.","archived":true,"fork":false,"pushed_at":"2023-02-03T06:31:11.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-10T22:32:40.943Z","etag":null,"topics":["bot","botway","crystal","crystal-lang"],"latest_commit_sha":null,"homepage":"https://github.com/abdfnx/botway","language":"Crystal","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/botwayorg.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":"2022-06-28T08:39:01.000Z","updated_at":"2024-07-30T10:48:31.000Z","dependencies_parsed_at":"2024-10-11T02:32:26.452Z","dependency_job_id":"5152cb74-86f6-444b-9fdb-8fbd537ba66f","html_url":"https://github.com/botwayorg/botwaycr","commit_stats":null,"previous_names":["botwayorg/botwaycr"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwayorg%2Fbotwaycr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwayorg%2Fbotwaycr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwayorg%2Fbotwaycr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwayorg%2Fbotwaycr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botwayorg","download_url":"https://codeload.github.com/botwayorg/botwaycr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238275842,"owners_count":19445292,"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":["bot","botway","crystal","crystal-lang"],"created_at":"2024-10-11T02:32:30.530Z","updated_at":"2025-10-26T06:30:44.463Z","avatar_url":"https://github.com/botwayorg.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ebotwaycr\u003c/h1\u003e\n\t\u003cp\u003e\n\t\tCrystal client package for Botway\n\t\u003c/p\u003e\n\u003c/div\u003e\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     botwaycr:\n       github: abdfnx/botwaycr\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n\u003e after creating a new crystal botway project, you need to use your tokens to connect with your bot.\n\n```crystal\nrequire \"discordcr\"\nrequire \"botwaycr\"\n\ntoken = Botwaycr::BW.new.get_token\nclient_id = Botwaycr::BW.new.get_app_id\n\nclient = Discord::Client.new(token: \"Bot \" + token, client_id: client_id.to_u64)\n\nclient.on_message_create do |payload|\n  if payload.content.starts_with? \"ping\"\n    client.create_message(payload.channel_id, \"Pong!\")\n  end\nend\n\nclient.run\n```\n\n## Contributors\n\n- [abdfnx](https://github.com/abdfnx) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotwayorg%2Fbotwaycr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotwayorg%2Fbotwaycr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotwayorg%2Fbotwaycr/lists"}