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.
1 parent 310ecf9 commit 80ff839Copy full SHA for 80ff839
discord/ui/view.py
@@ -706,7 +706,8 @@ def walk_children(self) -> Iterator[Item]:
706
707
def copy_text(self) -> str:
708
"""Returns the text of all :class:`~discord.ui.TextDisplay` items in this View.
709
- Equivalent to the `Copy Text` option on Discord clients."""
+ Equivalent to the `Copy Text` option on Discord clients.
710
+ """
711
return "\n".join(t for i in self.children if (t := i.copy_text()))
712
713
@property
0 commit comments