mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Proper keyword argument for send_file
This commit is contained in:
parent
2a3610de2f
commit
92212a4f2a
@ -869,7 +869,7 @@ class Client:
|
||||
'file': (fname, fp)
|
||||
}
|
||||
|
||||
response = yield from self.session.post(url, files=files, headers=self.headers)
|
||||
response = yield from self.session.post(url, data=files, headers=self.headers)
|
||||
log.debug(request_logging_format.format(method='POST', response=response))
|
||||
yield from utils._verify_successful_response(response)
|
||||
data = yield from response.json()
|
||||
|
Loading…
x
Reference in New Issue
Block a user