diff options
| author | Xua <[email protected]> | 2020-09-20 16:14:00 +1200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-09-24 02:17:56 -0400 |
| commit | c10bd0a82bb8b62110ab65c27eda53710e8c5479 (patch) | |
| tree | d57679644f85b9ae8b65c3f216a0c9fabf335b65 | |
| parent | Remove caching from AutoShardedClient.shards (diff) | |
| download | discord.py-c10bd0a82bb8b62110ab65c27eda53710e8c5479.tar.xz discord.py-c10bd0a82bb8b62110ab65c27eda53710e8c5479.zip | |
Fix allowed_mentions when sending files
| -rw-r--r-- | discord/abc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py index a2ec977d..88734d67 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -869,7 +869,7 @@ class Messageable(metaclass=abc.ABCMeta): raise InvalidArgument('file parameter must be File') try: - data = await state.http.send_files(channel.id, files=[file], + data = await state.http.send_files(channel.id, files=[file], allowed_mentions=allowed_mentions, content=content, tts=tts, embed=embed, nonce=nonce) finally: file.close() |