{"id":22588929,"url":"https://github.com/simple-robot/core","last_synced_at":"2025-08-05T04:32:54.450Z","repository":{"id":210061911,"uuid":"704553481","full_name":"simple-robot/core","owner":"simple-robot","description":"Simple Robot v4 临时开发仓库","archived":false,"fork":false,"pushed_at":"2024-01-09T12:12:49.000Z","size":969,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-01-09T19:31:26.702Z","etag":null,"topics":["simbot"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simple-robot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"ForteScarlet","patreon":"ForteScarlet","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-10-13T14:01:18.000Z","updated_at":"2024-01-09T19:31:26.703Z","dependencies_parsed_at":"2024-01-05T17:47:58.903Z","dependency_job_id":null,"html_url":"https://github.com/simple-robot/core","commit_stats":null,"previous_names":["simple-robot/core"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simple-robot","download_url":"https://codeload.github.com/simple-robot/core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228703535,"owners_count":17959669,"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":["simbot"],"created_at":"2024-12-08T08:11:36.534Z","updated_at":"2024-12-08T08:11:37.422Z","avatar_url":"https://github.com/simple-robot.png","language":"Kotlin","readme":"## Simple Robot v4\n\n\u003e [!important]\n\u003e 此仓库是 Simple Robot v4 版本的**临时**开发仓库，会在大部分基本工作都完成或接近尾声的时候合并至 [主仓库](https://github.com/simple-robot/simpler-robot)\n\u003e 的相关分支并移除此仓库。\n\n\n\u003e [!warning]\n\u003e 本仓库内容已经迁移至 [simpler-robot v4-dev分支](https://github.com/simple-robot/simpler-robot/tree/v4-dev) 。\n\n\n```kotlin\nval application = launchApplication(Simple) {\n    config {\n        // 部分配置属性...\n    }\n\n    eventDispatcher {\n        // 事件调度器配置....\n    }\n\n    // 安装组件或插件\n    install(...)\n}\n\n// 使用事件调度器\nval eventDispatcher = application.eventDispatcher\n\neventDispatcher.register {\n    // 注册事件处理器\n}\n\neventDispatcher.listen\u003cFooEvent\u003e { event -\u003e // this: EventContext\n    // 指定类型地注册事件处理器\n}\n\n// push(event) -\u003e Flow\u003cEventResult\u003e\neventDispatcher.push(event).collect {\n    // ...\n}\n\n// 使用Bot管理器\nval botManager = application.botManagers.get\u003cFooBotManager\u003e()\n\n// ...\n```\n","funding_links":["https://github.com/sponsors/ForteScarlet","https://patreon.com/ForteScarlet"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimple-robot%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimple-robot%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimple-robot%2Fcore/lists"}