From fc93762cf7d1bfe296a6941e39146996afb07c8e Mon Sep 17 00:00:00 2001 From: kozabrada123 <“kozabrada123@users.noreply.github.com”> Date: Sun, 7 May 2023 11:47:12 +0200 Subject: [PATCH] Fix deserialization error --- src/api/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/types.rs b/src/api/types.rs index cf0e0c4..456be43 100644 --- a/src/api/types.rs +++ b/src/api/types.rs @@ -740,7 +740,7 @@ pub struct PresenceUpdate { since: Option, activities: Vec, status: String, - afk: bool, + afk: Option, } impl WebSocketEvent for PresenceUpdate {}