From d4a546efa3ba6058e508d085db81b058415c8c96 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 {}