ValvePython / dota2

🐸 Python package for interacting with Dota 2 Game Coordinator
http://dota2.readthedocs.io
205 stars 32 forks source link

Fixing pass parameter channel with message EVENT_CHANNEL_MEMBERS_UPDATE #33

Closed hypnocapybara closed 6 years ago

hypnocapybara commented 6 years ago

Documentation says, that we get this parameters (3):

EVENT_CHANNEL_MEMBERS_UPDATE = 'members_update' """When users join/leave a channel

:param channel: channel instance
:type  channel: :class:`ChatChannel`
:param joined: list of members who joined
:type  joined: list
:param left: list of members who left
:type  left: list
"""

But in real, only joined and left passed. A little fix, to pass channel too

rossengeorgiev commented 6 years ago

Nice spot thanks