This Privacy Policy explains how Yuxia (羽夏, "the Bot") collects, uses, stores, and protects data when it is used in a Discord server. Yuxia (formerly Yvonne) is a server security and anti-raid moderation bot. Its privileged access is used only for the safety features that server administrators turn on.
Data We Collect
- Server settings: guild, channel, and role IDs; feature switches; action rules; allowlists; detection thresholds; alert-channel settings.
- Member and moderation data: user IDs, display names at the time of an event, role and permission data needed for safety checks, actions taken, reasons, and timestamps.
- Message safety data: message text, mentions, links, attachment counts, and limited metadata, processed in real time to detect unauthorized invites, mass mentions, spam, and attachment raids.
- Reports: report number, category, the description written by the reporter, a message snapshot (see below), and the reporter's and subject's IDs.
- Marks: when a user is reported, we keep a count and the last reason so administrators can judge for themselves. A mark never triggers an automatic action.
- Decision records: what was detected, what the bot decided, and what was actually done. Kept so administrators can answer appeals.
- Voice room membership: which members are in which managed voice room, so the room can be managed and cleaned up.
- Operational counters: aggregate numbers such as messages processed and actions taken.
What We Do Not Collect
- We do not record voice or audio. Voice features only read membership and permission state.
- We do not store full message history. Only the snapshot described below, plus the short-term server log data described under "Server Logs".
- We do not sell data, and we do not use it for advertising.
Message Snapshots
When a report is filed from a message, we store at most 500 characters of that message plus up to 5 attachment links, so the report still makes sense if the message is deleted. We store links, not the files themselves.
Server Logs
Server logs are an optional feature that administrators turn on themselves. Logs are posted to a forum channel the server chooses, and who can see them is decided by that channel's permissions.
- What is logged: the events an administrator selects, such as members joining or leaving, role and channel changes, moderation actions, and messages being deleted or edited (including the original text). Who did it and when comes from Discord's audit log.
- Before posting: each log entry is held briefly in our database before it is posted, and deleted 7 days after posting.
- Deleted attachments: only in servers that log message deletes or edits. Attachments members post (images, videos, files) are stored as an encrypted copy on our own server. They are not public and are not uploaded to any other cloud. If the message is deleted, the bot re-uploads that copy into the log; otherwise the copy is deleted within 24 hours (up to 2 hours longer while a log entry is waiting to be posted). Messages from bots and webhooks, and channels, roles and members an administrator chose to skip, are never stored.
- Attachments in logs: attachments re-uploaded into a log are removed from that log message by the bot after 7 days. The log text stays in the server's own channel, managed by its administrators.
- Statistics: how many attachments were stored per server per day and their total size, numbers only, kept for 90 days.
Voice
Voice features manage rooms and permissions. We do not join, listen to, or record voice channels.
What Is Shared Across Servers
When a server reports a user to the federation, other participating servers receive only: the user ID, the reason category, and the report number. The reporter's identity is not included. A report only adds a mark; it never causes another server to act automatically.
How Long We Keep Data
| Data | Retention |
| Report description and message snapshot | 1 year, then cleared |
| Report number, category, timestamps | Permanent |
| Mark count and last reason | Count is permanent; the reason is cleared after 1 year |
| Decision records | Permanent |
| Voice room membership | 7 days after the room is deleted |
| Server log data before posting | 7 days after posting |
| Encrypted attachment copy (message not deleted) | Deleted within 24 hours |
| Attachments re-uploaded into a log | Removed from the log after 7 days |
| Server settings | Until an administrator resets them or the bot is removed |
Cleared data is marked as cleared, so it is distinguishable from data that was never provided.
Who Can See It
- Server administrators see only records that belong to their own server.
- The developer can see records across servers for support, abuse investigation, and appeals.
- Other servers never see another server's report descriptions.
Your Controls
- Administrators can turn reports off, restrict who may report, and reset all settings for their server at any time.
- Administrators can look up a report by its number, and can release a specific enforcement for their server.
- Requests to delete data can be sent to the support server.
AI Features
Optional AI features (chat replies, image understanding, message review) send the minimum content needed for that feature. AI usage counters are kept separately from moderation records.
AI chat (when someone talks to the bot)
- What is sent to the AI provider: the question, up to the 100 most recent messages in that channel (each one shortened) so the reply fits the conversation, and any images or links the person attached. The provider may keep its own records under its own policy.
- What we store:
- A short per-person memory (one sentence each, at most 200 per person per server) and a one-sentence summary per channel. The bot filters out secrets and instructions before saving.
- Usage statistics: server ID, user ID, model, reply length, and time.
- A local log file (
ai-chat.log) with time, server, channel and user IDs, the first 200 characters of the question and the first 600 characters of the reply. The log rotates by size (20 MB, 3 files kept), not by date.
- If the operator has configured logging webhooks, the question text, attachment links and the reply are also posted to a private operator channel.
- How long: there is currently no time limit on usage statistics, and none on the one-sentence channel summaries. Per-person memories are capped by count (200 per person per server), not by age. The log file is limited by size only. When the bot is removed from a server, that server's usage statistics and personal memories are deleted; channel summaries and the log file are not deleted automatically.
Third-Party Services
The bot runs on Discord and Cloudflare infrastructure. Those providers process data under their own privacy policies.
Children
The bot is not directed to children under 13 (or the minimum age required in your country).
Changes
We will update the date at the top when this policy changes. Continued use after a change means you accept the updated policy.
Contact
Questions or deletion requests: please use the support server linked from the bot's profile.
本政策說明羽夏(Yuxia,以下稱「機器人」)在 Discord 伺服器中使用時,如何收集、使用、保存與保護資料。羽夏(以前叫 Yvonne)是伺服器安全與反翻群的管理機器人,特權權限只用於伺服器管理員開啟的安全功能。
我們收集什麼
- 伺服器設定:伺服器、頻道、身分組 ID;功能開關;處置規則;白名單;偵測門檻;警報頻道設定。
- 成員與處置資料:使用者 ID、事件當下的顯示名稱、安全檢查所需的身分組與權限、實際執行的處置、原因與時間。
- 訊息安全資料:訊息內容、標記、連結、附件數量與少量中介資料,用於即時偵測未授權邀請、大量標記、洗版與附件攻擊。
- 檢舉紀錄:檢舉編號、類別、檢舉人填寫的說明、訊息快照(見下),以及檢舉人與被檢舉人的 ID。
- 標記:有人被檢舉時,我們保留次數與最後一次的原因,供管理員自行判斷。標記不會觸發任何自動處置。
- 判定紀錄:偵測到什麼、機器人怎麼判定、實際做了什麼。保留是為了讓管理員回覆申訴。
- 語音房間成員:哪些成員在哪個受管理的語音房,用於房間管理與清理。
- 營運計數:處理訊息數、處置次數這類彙總數字。
我們不收集什麼
- 不錄音、不保存語音內容。語音功能只讀取成員與權限狀態。
- 不保存完整訊息歷史。只保存下方說明的快照,以及伺服器紀錄短暫暫存的內容(見「伺服器紀錄」)。
- 不販售資料,也不用於廣告。
訊息快照
從訊息發起檢舉時,我們最多保存該訊息 500 字,以及最多 5 個附件連結,讓對方刪訊息後檢舉仍然看得懂。只存連結,不存檔案本身。
伺服器紀錄
伺服器紀錄是管理員自己開啟的選用功能。紀錄發在該伺服器自己選的論壇頻道,誰看得到由那個頻道的權限決定。
- 記什麼:管理員勾選的事件,例如成員加入或離開、身分組與頻道變動、管理處置、訊息被刪除或編輯(包含原本的文字)。是誰做的、什麼時候,從 Discord 的稽核紀錄取得。
- 發出前:每筆紀錄發出前會短暫放在我們的資料庫,發出後 7 天刪除。
- 被刪除的附件:只限有開「訊息刪除」或「訊息編輯」紀錄的伺服器。成員貼出的附件(圖片、影片、檔案)會先加密存一份在我們自己的主機,不對外公開,也不上傳到其他雲端。訊息被刪除時,機器人把這份重新上傳到紀錄裡;沒被刪的,24 小時內自動刪除(正在等著補上紀錄的,最多多留 2 小時)。機器人與 webhook 發的訊息、管理員設定略過的頻道、身分組與成員,都不會存。
- 紀錄裡的附件:重新上傳到紀錄的附件,7 天後機器人會從那則紀錄移除。紀錄的文字留在伺服器自己的頻道,由管理員自行管理。
- 統計:每個伺服器每天存了幾個附件、總共多大,只有數字,保留 90 天。
語音
語音功能只管理房間與權限。我們不會加入、監聽或錄製語音頻道。
跨伺服器共用什麼
當一個伺服器把某人通報給聯防時,其他參與的伺服器只會收到:使用者 ID、原因類別、檢舉編號。不會包含檢舉人是誰。通報只會加上標記,不會讓其他伺服器自動動手。
資料保存多久
| 資料 | 保存期限 |
| 檢舉說明與訊息快照 | 1 年後清除 |
| 檢舉編號、類別、時間 | 永久 |
| 標記次數與最後原因 | 次數永久;原因 1 年後清除 |
| 判定紀錄 | 永久 |
| 語音房間成員 | 房間刪除後 7 天 |
| 伺服器紀錄發出前的資料 | 發出後 7 天 |
| 附件加密暫存(訊息沒被刪) | 24 小時內刪除 |
| 重新上傳到紀錄的附件 | 7 天後從紀錄移除 |
| 伺服器設定 | 直到管理員重設或機器人移出 |
被清掉的資料會留下「已清除」的時間標記,才分得出是清掉的、還是當初就沒填。
誰看得到
- 伺服器管理員只看得到自己伺服器的紀錄。
- 開發者為了支援、調查濫用與處理申訴,可以查看跨伺服器的紀錄。
- 其他伺服器看不到你的檢舉說明。
你可以怎麼控制
- 管理員可以關閉檢舉、限制誰能檢舉,也可以隨時重設整個伺服器的設定。
- 管理員可以用編號查詢紀錄,也可以針對自己伺服器放行某一筆處置。
- 要刪除資料,請到支援伺服器提出。
AI 功能
選用的 AI 功能(聊天回覆、圖片辨識、訊息審查)只送出該功能所需的最少內容。AI 使用量計數與處置紀錄分開保存。
AI 聊天(有人跟機器人說話時)
- 送給 AI 服務商的內容:提問內容、該頻道最近最多 100 則訊息(每則會截短,讓回覆接得上對話),以及對方附上的圖片或連結。服務商可能依自己的政策留下紀錄。
- 我們保存的內容:
- 每個人的簡短記憶(每則一句話,每人每伺服器最多 200 則)與每個頻道一句話的摘要。存入前會先過濾機密與指令性內容。
- 使用統計:伺服器 ID、使用者 ID、模型、回覆字數與時間。
- 本機紀錄檔(
ai-chat.log):時間、伺服器/頻道/使用者 ID、提問前 200 字與回覆前 600 字。紀錄檔依大小輪替(單檔 20 MB、保留 3 個),不依日期清除。
- 若營運者設定了紀錄 webhook,提問文字、附件連結與回覆也會貼到營運者的私人頻道。
- 保存多久:目前使用統計與頻道一句話摘要沒有設定期限;個人記憶只限制數量(每人每伺服器 200 則),不依時間清除;紀錄檔只限制大小。機器人被移出伺服器後,該伺服器的使用統計與個人記憶會被清除;頻道摘要與紀錄檔不會自動清除。
第三方服務
機器人運行在 Discord 與 Cloudflare 的基礎設施上,這些服務商依自己的隱私政策處理資料。
兒童
本機器人並非提供給 13 歲以下(或你所在國家規定的最低年齡)兒童使用。
政策變更
政策修改時會更新最上方的日期。修改後繼續使用即視為接受新版政策。
聯絡方式
有疑問或要刪除資料:請透過機器人個人資料頁連結的支援伺服器提出。