Auto Refresh Plus (ARP) 可通过 Webhook 通知功能直接向 Discord 发送提醒。当发生受监控的事件时(例如检测到关键词出现、消失或页面发生变化),该扩展程序会自动向您的 Discord 频道发送通知。
如何在 Discord 中接收警报
请按照以下步骤操作:
1. 创建 Discord Webhook
在 Discord 中:
- 打开您希望接收警报的频道
- 进入频道设置
- 选择**“集成”**
- 点击**“Webhooks”**
- 创建一个新的 Webhook
- 复制 Webhook 链接
2. 在 Auto Refresh Plus 中配置 Discord Webhook
- 打开**“通用设置”**
- 转到**“通知”**
- 选择 Webhook
- 点击**“添加 Webhook”**
- 为 Webhook 输入名称
- 选择 Discord 作为服务类型
- 粘贴您的 Discord Webhook URL
- 保存配置
3. 为网站启用 Webhook 警报
必须为每个受监控的页面启用 Webhook 通知。
- 打开 Auto Refresh Plus 扩展程序
- 转到**“监控**”选项卡
- 启用**“接收 Webhook 警报”**
- 选择您配置的 Discord Webhook
何时发送 Discord 警报?
当发生监控事件时,Discord 通知会被发送,例如:
- 发现关键词
- 关键词丢失
- 检测到页面变化
触发时,Auto Refresh Plus 会自动将事件信息发送至 Discord。
重要提示
- 仅在“常规设置”中创建 Webhook 并不会发送通知
- 还必须在扩展程序的弹出窗口中为被监控页面启用 Webhook 警报
- Discord 警报仅在检测到监控事件时生效
- 每个受监控页面均可使用其自身的 webhook 配置
总结
通过将 Auto Refresh Plus 连接到 Discord Webhook,即可在 Discord 中接收监控警报。创建 Webhook 并将其添加到扩展程序的“常规设置”后,只需为受监控页面启用 Webhook 警报。此后,任何检测到的监控事件都将自动发布到您的 Discord 频道。