From 56c3d6057e75a330ac87b4b84d51a4c0e70cf49a Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 11 Jan 2022 09:55:37 -0500 Subject: [PATCH] feat(docs): document nullability of system/member keys in message object --- docs/content/api/changelog.md | 2 ++ docs/content/api/models.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/content/api/changelog.md b/docs/content/api/changelog.md index 660f36c0..d6dc42e2 100644 --- a/docs/content/api/changelog.md +++ b/docs/content/api/changelog.md @@ -5,6 +5,8 @@ permalink: /api/changelog # Version history +* 2022-01-11 + * Member / system keys in message object are now nullable. * 2021-11-07 (v2) * API v2 has been released. API v1 is now deprecated. * 2020-07-28 diff --git a/docs/content/api/models.md b/docs/content/api/models.md index 480675dd..977da123 100644 --- a/docs/content/api/models.md +++ b/docs/content/api/models.md @@ -96,8 +96,8 @@ Every PluralKit entity has two IDs: a short (5-character) ID and a longer UUID. |sender|snowflake|The user ID of the account that triggered the proxy. Encoded as string for precision reasons.| |channel|snowflake|The ID of the channel the message was sent in. Encoded as string for precision reasons.| |guild|snowflake|The ID of the server the message was sent in. Encoded as string for precision reasons.| -|system|full System object|The system that proxied the message.| -|member|full Member object|The member that proxied the message.| +|system?|full System object|The system that proxied the message. Null if the member associated with this message was deleted.| +|member?|full Member object|The member that proxied the message. Null if the member associated with this message was deleted.| ### System settings model