mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-26 02:53:07 +00:00
Make use_cached keyword only
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user