aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve C <[email protected]>2021-04-07 00:01:48 -0400
committerGitHub <[email protected]>2021-04-07 00:01:48 -0400
commit3c9aed910208d3d7e2589216f9bd52054d8750f2 (patch)
tree9b76675abb59f37b8adc54eb2584b6711debd7e3
parentUse `format_map` instead of `format` for `Route.url` (diff)
downloaddiscord.py-3c9aed910208d3d7e2589216f9bd52054d8750f2.tar.xz
discord.py-3c9aed910208d3d7e2589216f9bd52054d8750f2.zip
Fix AttributeError on HTTPClient.send_file to be send_files
-rw-r--r--discord/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index 38ff56ed..7c36ee9d 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -409,7 +409,7 @@ class HTTPClient:
return self.request(route, form=form, files=files)
- def send_file(
+ def send_files(
self,
channel_id,
*,