We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ffe90d commit b903d54Copy full SHA for b903d54
interactions/client/smart_cache.py
@@ -794,7 +794,7 @@ async def place_voice_state_data(
794
795
if old_state := self.get_voice_state(user_id):
796
# noinspection PyProtectedMember
797
- if user_id in old_state.channel._voice_member_ids:
+ if old_state.channel is not None and user_id in old_state.channel._voice_member_ids:
798
799
old_state.channel._voice_member_ids.remove(user_id)
800
0 commit comments