{"id":19909877,"url":"https://github.com/etherealengine/ee-bot","last_synced_at":"2025-05-03T02:31:45.225Z","repository":{"id":38310459,"uuid":"430297227","full_name":"EtherealEngine/ee-bot","owner":"EtherealEngine","description":"The official AI enabled bot for XREngine built on puppeteer.","archived":true,"fork":false,"pushed_at":"2024-08-18T06:35:22.000Z","size":389,"stargazers_count":5,"open_issues_count":14,"forks_count":14,"subscribers_count":9,"default_branch":"dev","last_synced_at":"2025-04-30T15:27:56.191Z","etag":null,"topics":["bot"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EtherealEngine.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}},"created_at":"2021-11-21T07:05:45.000Z","updated_at":"2024-08-18T06:56:32.000Z","dependencies_parsed_at":"2023-02-14T10:32:25.931Z","dependency_job_id":"e9da5c53-dae5-407c-a2e6-d123c7e4abc6","html_url":"https://github.com/EtherealEngine/ee-bot","commit_stats":{"total_commits":144,"total_committers":12,"mean_commits":12.0,"dds":0.4027777777777778,"last_synced_commit":"0c4c59859e6b4008ba98f2d0ad03d7b71bd7313b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EtherealEngine","download_url":"https://codeload.github.com/EtherealEngine/ee-bot/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252133740,"owners_count":21699590,"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"],"created_at":"2024-11-12T21:16:50.590Z","updated_at":"2025-05-03T02:31:45.211Z","avatar_url":"https://github.com/EtherealEngine.png","language":"JavaScript","readme":"# Bot API\n\n```ts\nimport { Vector3 } from 'three'\nimport { EtherealEngineBot } from '@ir-engine/ir-bot/src/bot'\nimport { BotHooks } from '@ir-engine/ir-bot/src/bot/enums/BotHooks'\n\nconst maxTimeout = 10 * 1000\nconst bot = new EtherealEngineBot({ name: 'bot-1', headless: false, verbose: false })\nconst vector3 = new Vector3()\n\nconst domain = process.env.APP_HOST\nconst locationName = 'test'\nconst sqrt2 = Math.sqrt(2)\n\ndescribe('My Bot Tests', () =\u003e {\n\n  beforeAll(async () =\u003e {\n    await bot.launchBrowser()\n    await bot.enterLocation(`https://${domain}/location/${locationName}`)\n    await bot.delay(1000)\n    await bot.runHook(BotHooks.InitializeBot)\n  }, maxTimeout)\n\n  afterAll(async () =\u003e {\n    await bot.delay(1000)\n    await bot.quit()\n  }, maxTimeout)\n\n  test('Can spawn in the world', async () =\u003e {\n    expect(\n      vector3.copy(await bot.runHook(BotHooks.GetPlayerPosition)).length()\n    ).toBeLessThan(sqrt2 * 2) // sqrt2 * 2 is the default size of our spawn area\n  })\n\n})\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherealengine%2Fee-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetherealengine%2Fee-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherealengine%2Fee-bot/lists"}