mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-10-29 16:09:05 +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
@@ -1225,7 +1225,7 @@ class DMChannel(discord.abc.Messageable, Hashable):
|
||||
return f'<DMChannel id={self.id} recipient={self.recipient!r}>'
|
||||
|
||||
@classmethod
|
||||
def _from_message(cls, state, channel_id, payload):
|
||||
def _from_message(cls, state, channel_id):
|
||||
# The MESSAGE_CREATE payload no longer gives bots
|
||||
# an appropriate CHANNEL_CREATE.
|
||||
# However, it has enough data for us to pretend since
|
||||
|
||||
Reference in new issue
Block a user