> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vetox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Reddit 通知

> 在您的 Discord 服务器中公告任何 subreddit 的新帖子。

<Info>
  需要 **Basic**。每服务器最多 **10 个 subreddit**。共享规则请参见 [通知如何工作](/zh-CN/notifications/overview)。
</Info>

## 添加 subreddit

输入不含 `r/` 的名字。Vetox 会验证它是否存在；无法解析的名字会以 **Subreddit not found** 被拒绝。

名字为 1–50 个字符：字母、数字和下划线。

## 设置

| 设置             | 默认值       | 说明 |
| -------------- | --------- | -- |
| **Discord 频道** | —         | 必需 |
| **新帖子时通知**     | **开启**    |    |
| **提及角色**       | 无         |    |
| **自定义通知嵌入**    | Reddit 默认 | 橙色 |

## 变量

| 变量                 | 解析为           |
| ------------------ | ------------- |
| `{post.title}`     | 帖子标题          |
| `{post.url}`       | 帖子链接          |
| `{post.author}`    | 发帖者用户名        |
| `{post.content}`   | 帖子正文          |
| `{post.flair}`     | 帖子的 flair     |
| `{post.thumbnail}` | 缩略图           |
| `{subreddit.name}` | Subreddit 名   |
| `{subreddit.url}`  | Subreddit URL |
| `{subreddit.icon}` | Subreddit 图标  |

## 如何发现新帖子

每 **3 分钟** 检查一次，每个 subreddit **2 分钟冷却**，读取最新帖子。

<Warning>
  **完全没有任何过滤。** 没有排序选择、没有 flair 过滤、没有最低评分、没有 NSFW 过滤，也没办法排除置顶帖。subreddit 中的每个新帖子都会被公告。

  繁忙的 subreddit 会产生大量消息。请跟踪小型或低流量的 subreddit，或做好应对高量的准备。
</Warning>

<Tip>
  给 Reddit 通知一个专属频道，而不要与常规聊天混在一起。它是八个平台中量最大的。
</Tip>

### Reddit 限流 Vetox 时

如果 Reddit 的 API 拒绝请求，Vetox 会在几分钟内回退到读取 subreddit 的公开动态。

<Note>
  在回退路径上，`{post.flair}`、`{post.thumbnail}` 和 `{post.content}` 没有值，因此由它们构建的字段会消失。这是暂时的且会自行恢复。

  如果您的 Reddit 嵌入偶尔到达时字段少于往常，就是这个原因。
</Note>

## 疑难解答

<AccordionGroup>
  <Accordion title="公告太多">
    没有过滤器。请选择更安静的 subreddit，或将其移除 —— 无法调整。
  </Accordion>

  <Accordion title="某些公告缺少字段">
    Reddit 短暂限流了 Vetox，回退路径不携带 flair、缩略图或正文。
  </Accordion>

  <Accordion title="NSFW 帖子被公告">
    没有 NSFW 过滤器。请不要跟踪您不希望被发布内容的 subreddit。
  </Accordion>

  <Accordion title="完全没有任何到达">
    服务器设置的 Reddit 开关、高级会员，以及频道的嵌入链接权限。
  </Accordion>
</AccordionGroup>

<Card title="Bluesky" icon="cloud" horizontal href="/zh-CN/notifications/bluesky">
  带回复和转发过滤的社交帖子。
</Card>
