mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-04 22:42:21 +00:00
Remove superfluous unused payload parameter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user