{"id":13569532,"url":"https://github.com/motoki317/traq-ws-bot4j","last_synced_at":"2025-09-14T22:19:15.314Z","repository":{"id":100464200,"uuid":"423524131","full_name":"motoki317/traq-ws-bot4j","owner":"motoki317","description":"traQ WebSocket bot library for Java","archived":false,"fork":false,"pushed_at":"2022-05-21T02:34:29.000Z","size":1196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T13:54:17.980Z","etag":null,"topics":["traq"],"latest_commit_sha":null,"homepage":"","language":"Java","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/motoki317.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}},"created_at":"2021-11-01T15:49:43.000Z","updated_at":"2021-11-01T23:56:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2ef420f-605d-43c2-8232-8d4dcb187613","html_url":"https://github.com/motoki317/traq-ws-bot4j","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoki317%2Ftraq-ws-bot4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoki317%2Ftraq-ws-bot4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoki317%2Ftraq-ws-bot4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoki317%2Ftraq-ws-bot4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/motoki317","download_url":"https://codeload.github.com/motoki317/traq-ws-bot4j/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246040444,"owners_count":20713994,"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":["traq"],"created_at":"2024-08-01T14:00:41.104Z","updated_at":"2025-03-28T13:41:41.586Z","avatar_url":"https://github.com/motoki317.png","language":"Java","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# traq-ws-bot4j\n\n[![GitHub release](https://img.shields.io/github/release/motoki317/traq-ws-bot4j.svg)](https://GitHub.com/motoki317/traq-ws-bot4j/releases/)\n\n[traQ](https://github.com/traPtitech/traQ) WebSocket bot library for Java\n\nRequires Java 17+\n\n## Example usage\n\n### pom.xml\n\nMake sure to use the latest version shown below.\n\n- traq4j\n[![GitHub release](https://img.shields.io/github/release/motoki317/traq4j.svg)](https://GitHub.com/motoki317/traq4j/releases/)\n- traq-ws-bot4j\n[![GitHub release](https://img.shields.io/github/release/motoki317/traq-ws-bot4j.svg)](https://GitHub.com/motoki317/traq-ws-bot4j/releases/)\n\n```xml\n\u003cproject\u003e\n    \u003crepositories\u003e\n        \u003crepository\u003e\n            \u003cid\u003eGitHub traq4j\u003c/id\u003e\n            \u003curl\u003ehttps://raw.github.com/motoki317/traq4j/mvn-repo/\u003c/url\u003e\n        \u003c/repository\u003e\n        \u003crepository\u003e\n            \u003cid\u003eGitHub traq-ws-bot4j\u003c/id\u003e\n            \u003curl\u003ehttps://raw.github.com/motoki317/traq-ws-bot4j/mvn-repo/\u003c/url\u003e\n        \u003c/repository\u003e\n    \u003c/repositories\u003e\n    \u003cdependencies\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.github.motoki317\u003c/groupId\u003e\n            \u003cartifactId\u003etraq4j\u003c/artifactId\u003e\n            \u003cversion\u003e${traq4j.version}\u003c/version\u003e\n        \u003c/dependency\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.github.motoki317\u003c/groupId\u003e\n            \u003cartifactId\u003etraq-ws-bot4j\u003c/artifactId\u003e\n            \u003cversion\u003e${traq-ws-bot4j.version}\u003c/version\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n\u003c/project\u003e\n```\n\n### Code\n\n```java\npublic class Main {\n    public static void main(String[] args){\n          Bot bot = new Bot(\"accessToken\", \"https://q.trap.jp/api/v3\", true);\n          bot.onEvent(Event.MESSAGE_CREATED, MessageCreatedEvent.class, (e) -\u003e {\n              // do something...\n          });\n          bot.start();\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmotoki317%2Ftraq-ws-bot4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmotoki317%2Ftraq-ws-bot4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmotoki317%2Ftraq-ws-bot4j/lists"}