From eb0c29b3a410216022a466c51bd5e8b5ed9c79b5 Mon Sep 17 00:00:00 2001 From: Damego Date: Thu, 3 Nov 2022 13:06:26 +0500 Subject: [PATCH] fix: Don't copy Ed's code. NEVER. Add missed client to `VoiceState.member` --- interactions/ext/lavalink/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactions/ext/lavalink/models.py b/interactions/ext/lavalink/models.py index 4a890bc..095d38d 100644 --- a/interactions/ext/lavalink/models.py +++ b/interactions/ext/lavalink/models.py @@ -38,7 +38,7 @@ class VoiceState(ClientSerializerMixin): guild_id: Optional[Snowflake] = field(converter=Snowflake, default=None) channel_id: Optional[Snowflake] = field(converter=Snowflake, default=None) user_id: Snowflake = field(converter=Snowflake) - member: Optional[Member] = field(converter=Member, default=None) + member: Optional[Member] = field(converter=Member, default=None, add_client=True) session_id: str = field() deaf: bool = field() mute: bool = field()