diff options
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 d922d210..c75babb9 100644 --- a/discord/state.py +++ b/discord/state.py @@ -371,7 +371,7 @@ class ConnectionState: try: guild = self._get_guild(int(data['guild_id'])) except KeyError: - channel = DMChannel._from_message(self, channel_id, data) + channel = DMChannel._from_message(self, channel_id) guild = None else: channel = guild and guild.get_channel(channel_id) |