{"id":28445085,"url":"https://github.com/wechaty/wechaty-got-kicked-out","last_synced_at":"2025-06-29T20:32:50.245Z","repository":{"id":102484755,"uuid":"262509365","full_name":"wechaty/wechaty-got-kicked-out","owner":"wechaty","description":"this is a wechaty plugin to monitor whether your bot is kicked out of group chat.","archived":false,"fork":false,"pushed_at":"2020-05-29T01:03:03.000Z","size":68,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T10:11:36.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/wechaty.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":"2020-05-09T06:56:07.000Z","updated_at":"2020-05-29T01:03:06.000Z","dependencies_parsed_at":"2024-01-23T21:15:52.313Z","dependency_job_id":"43b12b24-c34d-4edc-910d-dcbb47437d5b","html_url":"https://github.com/wechaty/wechaty-got-kicked-out","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wechaty/wechaty-got-kicked-out","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fwechaty-got-kicked-out","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fwechaty-got-kicked-out/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fwechaty-got-kicked-out/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fwechaty-got-kicked-out/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wechaty","download_url":"https://codeload.github.com/wechaty/wechaty-got-kicked-out/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fwechaty-got-kicked-out/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262663279,"owners_count":23345030,"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-06-06T10:11:17.266Z","updated_at":"2025-06-29T20:32:50.216Z","avatar_url":"https://github.com/wechaty.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wechaty-Got-Kicked-Out\n\n[![Wechaty Plugin Contrib](https://img.shields.io/badge/Wechaty%20Plugin-GotKicked-brightgreen.svg)](https://github.com/wechaty/wechaty-got-kicked-out)\n[![Wechaty Plugin Contrib](https://img.shields.io/badge/Wechaty%20Plugin-Directory-brightgreen.svg)](https://github.com/wechaty/wechaty-plugin-contrib#wechaty-plugin-directory)\n[![Build Status](https://travis-ci.org/JesseWeb/wechaty-got-kicked-out.svg?branch=master)](https://travis-ci.org/JesseWeb/wechaty-got-kicked-out)\n\n\n## What is this?\nthis is a wechaty plugin to monitor whether your bot got kicked out of group chat.\n\n\njust few line of code to implement this instead fussy judging.\n\n\n## Installation\n\n```bash\nyarn add \"wechaty-got-kicked-out\"\n```\nor\n```bash\nnpm install \"wechaty-got-kicked-out\" --save\n```\n## Usage\n\n```javascript\nimport {Wechaty} from \"wechaty\"\n\nimport {GotKicked} from \"wechaty-got-kicked-out\"\n\nconst bot = new Wechaty({\n   name:\"wechaty-got-kicked-out\"\n})\n\nbot.use(GotKicked({\n   onKick(room, remover, date){\n      console.log(`\n         bot just got kick out of ${await room.topic()}[${room.id}]\n         by ${remover ? remove.name(): 'it self'} \n         --date：${date}\n         `)\n   },\n   /*\n   comming soon... \n   whiltList:{\n      id:\"19710388933@chatroom\"\n      // or\n      id:[\"19710388933@chatroom\",\"98345982793@chatroom\"]\n      // or\n      topic:\"微信群001\"\n      // or\n      topic:[\"微信群001\",\"微信群002\"]\n   }\n   */\n   \n}))\n\nbot.start()\n   .catch(console.error)\n```\n\n## Test\n```bash\nnpm run test\n```\n\n## Build\n```bash\nnpm run build\n```\n## Maintainers\n* @LegendaryJesse - [LegendaryJesse](https://github.com/JesseWeb)\n\n## Copyright \u0026 License\n\n* Code \u0026 Docs © 2020-now LegendaryJesse|Wechaty\n* Code released under the MIT License\n* Docs released under Creative Commons\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fwechaty-got-kicked-out","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwechaty%2Fwechaty-got-kicked-out","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fwechaty-got-kicked-out/lists"}