Skip to content

Commit 43a32fb

Browse files
committed
docs: Correct type for ui.Container.add_file()
1 parent 5f3c4e2 commit 43a32fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ui/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def add_gallery(
306306
return self.add_item(g)
307307

308308
def add_file(self, url: str, spoiler: bool = False, id: int | None = None) -> Self:
309-
"""Adds a :class:`TextDisplay` to the container.
309+
"""Adds a :class:`File` to the container.
310310
311311
Parameters
312312
----------

0 commit comments

Comments
 (0)