We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Message.__len__()
1 parent 1ac7092 commit f18dcabCopy full SHA for f18dcab
discord/message.py
@@ -503,9 +503,6 @@ class Message(Hashable):
503
504
Returns the message's hash.
505
506
- .. describe:: len(x)
507
-
508
- Returns the length of the message's content.
509
510
Attributes
511
-----------
@@ -716,8 +713,6 @@ def __repr__(self) -> str:
716
713
f'<{name} id={self.id} channel={self.channel!r} type={self.type!r} author={self.author!r} flags={self.flags!r}>'
717
714
)
718
715
719
- def __len__(self):
720
- return len(self.content)
721
722
def _try_patch(self, data, key, transform=None) -> None:
723
try:
0 commit comments