diff --git a/discord/webhook.py b/discord/webhook.py index ae2e65a98..cc43bbca8 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -127,7 +127,7 @@ class WebhookAdapter: multipart = { 'payload_json': utils.to_json(payload) } - for i, file in enumerate(files, start=1): + for i, file in enumerate(files): multipart['file%i' % i] = (file.filename, file.fp, 'application/octet-stream') data = None