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 5136a4a commit 125612eCopy full SHA for 125612e
1 file changed
discord/ui/file.py
@@ -90,7 +90,7 @@ def size(self) -> int:
90
"""The size of this file in bytes, if provided by Discord."""
91
return self._underlying.size
92
93
- def refresh_component(self, component: Component) -> None:
+ def refresh_component(self, component: FileComponent) -> None:
94
original = self._underlying.file
95
component.file._static_url = original._static_url
96
self._underlying = component
0 commit comments