|
@ -166,7 +166,7 @@ class Attachment: |
|
|
data = await self._http.get_from_cdn(url) |
|
|
data = await self._http.get_from_cdn(url) |
|
|
return data |
|
|
return data |
|
|
|
|
|
|
|
|
async def to_file(self, use_cached=False): |
|
|
async def to_file(self, *, use_cached=False): |
|
|
"""|coro| |
|
|
"""|coro| |
|
|
|
|
|
|
|
|
Converts the attachment into a :class:`File` suitable for sending via |
|
|
Converts the attachment into a :class:`File` suitable for sending via |
|
|