Make use_cached keyword only
This commit is contained in:
parent
75d3c4f6cf
commit
1f73e18bc6
@ -166,7 +166,7 @@ class Attachment:
|
||||
data = await self._http.get_from_cdn(url)
|
||||
return data
|
||||
|
||||
async def to_file(self, use_cached=False):
|
||||
async def to_file(self, *, use_cached=False):
|
||||
"""|coro|
|
||||
|
||||
Converts the attachment into a :class:`File` suitable for sending via
|
||||
|
Loading…
x
Reference in New Issue
Block a user