mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-29 20:43:00 +00:00 
			
		
		
		
	Fix allowed_mentions when sending files
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user