diff options
| author | Rapptz <[email protected]> | 2017-01-08 03:46:43 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-08 03:46:43 -0500 |
| commit | 4bd8382e0635a240d1a76e6eb601728d91871f45 (patch) | |
| tree | b79fd0d5b33ccfef044f39ff271859e34b94e166 | |
| parent | Remove extraneous prints. (diff) | |
| download | discord.py-4bd8382e0635a240d1a76e6eb601728d91871f45.tar.xz discord.py-4bd8382e0635a240d1a76e6eb601728d91871f45.zip | |
Fix bug that caused Guild instances to be in VoiceChannel.voice_members
| -rw-r--r-- | discord/guild.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py index 841e5167..7033bff6 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -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 |