aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-11 22:20:31 -0400
committerRapptz <[email protected]>2021-04-11 22:20:31 -0400
commita8b3cfa592605bc8a7035fa93e3a36f4ba7fa170 (patch)
treea8bb20b33b6aa00b63199c62b8d88e1cd6da32fd
parentRemove superfluous unused payload parameter (diff)
downloaddiscord.py-a8b3cfa592605bc8a7035fa93e3a36f4ba7fa170.tar.xz
discord.py-a8b3cfa592605bc8a7035fa93e3a36f4ba7fa170.zip
Remove comment that doesn't apply anymore
-rw-r--r--discord/channel.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 2f637e2d..0b8d72d7 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -1226,10 +1226,6 @@ class DMChannel(discord.abc.Messageable, Hashable):
@classmethod
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
- # bots can no longer be in a group DM.
self = cls.__new__(cls)
self._state = state
self.id = channel_id