mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 19:03:03 +00:00
Fix bug that caused Guild instances to be in VoiceChannel.voice_members
This commit is contained in:
@ -179,7 +179,7 @@ class Guild(Hashable):
|
||||
finally:
|
||||
# we switched channels
|
||||
if channel is not None:
|
||||
channel.voice_members.append(self)
|
||||
channel.voice_members.append(member)
|
||||
|
||||
return member, before, after
|
||||
|
||||
|
Reference in New Issue
Block a user