mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Remove superfluous unused payload parameter
This commit is contained in:
1 parent
7bdaa793f6
commit
9b94fe1ce0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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