diff options
| author | Rapptz <[email protected]> | 2016-07-15 23:42:53 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-07-15 23:42:53 -0400 |
| commit | bd39c3ef458e7b78e1e4d49367544a04ab764131 (patch) | |
| tree | 530bf5fe3769ff1dac9ccaaed08f545012711375 /discord/state.py | |
| parent | Add support for querying information about group calls. (diff) | |
| download | discord.py-bd39c3ef458e7b78e1e4d49367544a04ab764131.tar.xz discord.py-bd39c3ef458e7b78e1e4d49367544a04ab764131.zip | |
Add utility properties to CallMessage to query information.
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py index adac7f5f..f23ae78c 100644 --- a/discord/state.py +++ b/discord/state.py @@ -601,7 +601,7 @@ class ConnectionState: def parse_call_create(self, data): message = self._get_message(data.get('message_id')) if message is not None: - call = GroupCall(message=message, **data) + call = GroupCall(call=message, **data) self._calls[data['channel_id']] = call self.dispatch('call', call) |