{"id":17279294,"url":"https://github.com/rongronggg9/slashbot","last_synced_at":"2025-04-13T08:03:46.404Z","repository":{"id":37785639,"uuid":"307147569","full_name":"Rongronggg9/SlashBot","owner":"Rongronggg9","description":"响应诸如 “/抱”、“/摸摸” 之类消息的 Telegram Bot","archived":false,"fork":false,"pushed_at":"2024-05-21T05:27:18.000Z","size":519,"stargazers_count":48,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-08T03:13:30.403Z","etag":null,"topics":["bot","docker","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/RongSlashRBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rongronggg9.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}},"created_at":"2020-10-25T16:58:13.000Z","updated_at":"2024-09-10T06:17:42.000Z","dependencies_parsed_at":"2023-01-29T15:45:42.143Z","dependency_job_id":"dcf05787-398a-40f6-b8db-ffb9b1c546cc","html_url":"https://github.com/Rongronggg9/SlashBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongronggg9%2FSlashBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongronggg9%2FSlashBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongronggg9%2FSlashBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rongronggg9%2FSlashBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rongronggg9","download_url":"https://codeload.github.com/Rongronggg9/SlashBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224784959,"owners_count":17369461,"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","docker","telegram","telegram-bot"],"created_at":"2024-10-15T09:16:48.894Z","updated_at":"2024-11-15T13:08:46.613Z","avatar_url":"https://github.com/Rongronggg9.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlashBot\n\n[![Docker Cloud Build Status](https://img.shields.io/github/workflow/status/Rongronggg9/SlashBot/Publish%20Docker%20image)](https://hub.docker.com/r/rongronggg9/slashbot)\n[![Docker Pulls](https://img.shields.io/docker/pulls/rongronggg9/slashbot)](https://hub.docker.com/r/rongronggg9/slashbot)\n[![GitHub stars](https://img.shields.io/github/stars/Rongronggg9/SlashBot?style=social)](https://github.com/Rongronggg9/SlashBot)\n\n**[@RongSlashBot](https://t.me/RongSlashBot)**  \n**Privacy Mode on，接收不到非指令消息，保证隐私安全性。**\n\n由于 Telegram 限制，如您的群组已有其他 bot ，请使用 Privacy Mode off 的 [@RongSlashRBot](https://t.me/RongSlashRBot) 。  \n请注意，Privacy Mode off 意味着 bot 在技术上可以收到所有消息，本 bot 已经设计为不处理及不记录任何无关消息，如您疑虑安全性，请自行搭建或到末尾查看更多解决方案。\n\n## Usage\n\n```sh\ndocker create \\\n    --name [container name] \\\n    --restart unless-stopped \\\n    -e TOKEN=[bot token] \\\n    rongronggg9/slashbot\n```\n\n```sh\ndocker start [container name]\n```\n\n![](resources/example.jpg)\n\n## 薛定谔的 Telegram Bot API\n\n若您的群组存在大于一个 bot (含本 bot)，本 bot 可能时常无法正常工作。\n\n症状：\n[@RongSlashBot](https://t.me/RongSlashBot) 突然接收不到任何指令消息，因而也无法回复。\n\n触发条件 (\u003cu\u003e需全部满足\u003c/u\u003e)：\n\n1. 群组内存在大于一个 bot\n2. 该 bot 未被设置为管理员\n3. 该 bot Privacy Mode on\n4. 指令未指明目标 (如 `/example`)\n\n总体上，管理员或 Privacy Mode off 的 bot 几乎一定会收到消息，其余 bot 可能收到也可能收不到消息。\n\n**规避方法 (\u003cu\u003e满足任一即可\u003c/u\u003e)：**\n\n1. **仅保留本 bot**\n2. **将本 bot 添加为管理员（给予任一权限均可。需注意\u003cu\u003e该操作意味着对于本群，该 bot Privacy Mode off\u003c/u\u003e）**\n3. **换用 Privacy Mode off 的 [@RongSlashRBot](https://t.me/RongSlashRBot) (如您疑虑安全性，请自行搭建)**\n4. **给指令指明目标 (如 `/example@RongSlashBot`)，触发成功后\u003cu\u003e一段时间内\u003c/u\u003e ，不需再指明目标也可使 bot 接收到指令**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongronggg9%2Fslashbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frongronggg9%2Fslashbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongronggg9%2Fslashbot/lists"}