diff options
| author | Xua <[email protected]> | 2020-09-20 16:14:00 +1200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-20 00:14:00 -0400 |
| commit | 6ae615baae061b1bd0fad3e6f99261f3004a934a (patch) | |
| tree | 8e55f83c2c80c6ec97db6860437b06d7df3f094f | |
| parent | Add competing activity type (diff) | |
| download | discord.py-6ae615baae061b1bd0fad3e6f99261f3004a934a.tar.xz discord.py-6ae615baae061b1bd0fad3e6f99261f3004a934a.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 e50726f7..ad148f74 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -877,7 +877,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() |