Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

add telegram privacy mode config#27

Merged
Soulter merged 1 commit into
AstrBotDevs:v2from
xming521:v2
Jul 7, 2025
Merged

add telegram privacy mode config#27
Soulter merged 1 commit into
AstrBotDevs:v2from
xming521:v2

Conversation

@xming521
Copy link
Copy Markdown
Contributor

@xming521 xming521 commented Jul 6, 2025

好的,这是翻译成中文的 pull request 总结:

Sourcery 总结

文档:

  • 在 telegram 部署指南中添加了禁用 Telegram 机器人隐私模式的说明,以便在群聊中使用。
Original summary in English

Summary by Sourcery

Documentation:

  • Add instructions to disable Telegram bot privacy mode for group chat usage in the telegram deployment guide

Adds instructions on how to disable Telegram bot's
privacy mode for group chats. This is necessary for
the bot to receive messages in group chats.
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 6, 2025

Deploy Preview for polite-sunflower-adff53 ready!

Name Link
🔨 Latest commit 6b9db2c
🔍 Latest deploy log https://app.netlify.com/projects/polite-sunflower-adff53/deploys/686a765c05636800083f5ffe
😎 Deploy Preview https://deploy-preview-27--polite-sunflower-adff53.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Jul 6, 2025

## 审查者指南

更新了 Telegram 部署指南,加入了通过 BotFather 禁用机器人隐私模式以允许群聊互动的说明。

### 文件级别变更

| 变更 | 详情 | 文件 |
| ------ | ------- | ----- |
| 添加了禁用 Telegram 机器人隐私模式的说明 | <ul><li>提及群聊使用需要禁用隐私模式</li><li>提供 BotFather 的 /setprivacy 命令序列</li><li>链接到官方隐私模式文档</li></ul> | `deploy/platform/telegram.md` |

---

<details>
<summary>提示和命令</summary>

#### 与 Sourcery 互动

- **触发新的审查:** 在 pull request 上评论 `@sourcery-ai review`- **继续讨论:** 直接回复 Sourcery 的审查评论。
- **从审查评论生成 GitHub issue:** 通过回复审查评论,让 Sourcery 从审查评论创建一个 issue。您也可以回复审查评论并加上 `@sourcery-ai issue` 来从中创建一个 issue。
- **生成 pull request 标题:** 在 pull request 标题中的任何位置写入 `@sourcery-ai` 以随时生成标题。您也可以在 pull request 上评论 `@sourcery-ai title` 以随时(重新)生成标题。
- **生成 pull request 摘要:** 在 pull request 正文中的任何位置写入 `@sourcery-ai summary` 以随时在您想要的位置生成 PR 摘要。您也可以在 pull request 上评论 `@sourcery-ai summary` 以随时(重新)生成摘要。
- **生成审查者指南:** 在 pull request 上评论 `@sourcery-ai guide` 以随时(重新)生成审查者指南。
- **解决所有 Sourcery 评论:** 在 pull request 上评论 `@sourcery-ai resolve` 以解决所有 Sourcery 评论。如果您已经处理了所有评论并且不想再看到它们,这将非常有用。
- **驳回所有 Sourcery 审查:** 在 pull request 上评论 `@sourcery-ai dismiss` 以驳回所有现有的 Sourcery 审查。如果您想重新开始一个新的审查,这将特别有用 - 不要忘记评论 `@sourcery-ai review` 以触发新的审查!

#### 自定义您的体验

访问您的 [仪表板](https://app.sourcery.ai) 以:
- 启用或禁用审查功能,例如 Sourcery 生成的 pull request 摘要、审查者指南等。
- 更改审查语言。
- 添加、删除或编辑自定义审查说明。
- 调整其他审查设置。

#### 获取帮助

- [联系我们的支持团队](mailto:support@sourcery.ai) 提出问题或反馈。
- 访问我们的 [文档](https://docs.sourcery.ai) 获取详细指南和信息。
- 通过在 [X/Twitter](https://x.com/SourceryAI)[LinkedIn](https://www.linkedin.com/company/sourcery-ai/)[GitHub](https://github.com/sourcery-ai) 上关注我们,与 Sourcery 团队保持联系。

</details>
Original review guide in English

Reviewer's Guide

Updated the Telegram deployment guide to include instructions for disabling bot privacy mode via BotFather to allow group chat interactions.

File-Level Changes

Change Details Files
Added instructions to disable Telegram bot privacy mode
  • Mention need to disable privacy mode for group chat usage
  • Provide /setprivacy command sequence for BotFather
  • Link to official privacy mode documentation
deploy/platform/telegram.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xming521 - 我已经查看了你的更改,它们看起来很棒!


Sourcery 对开源是免费的 - 如果你喜欢我们的评论,请考虑分享它们✨
帮助我变得更有用!请点击每个评论上的👍或👎,我将使用这些反馈来改进你的评论。
Original comment in English

Hey @xming521 - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Soulter
Copy link
Copy Markdown
Member

Soulter commented Jul 7, 2025

Thanks!

@Soulter Soulter merged commit a8b6d34 into AstrBotDevs:v2 Jul 7, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants