mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-11-03 23:12:56 +00:00 
			
		
		
		
	Add replied_user key when no allowed_mentions is passed in
This commit is contained in:
		@@ -224,7 +224,9 @@ def handle_message_parameters(
 | 
			
		||||
        try:
 | 
			
		||||
            payload['allowed_mentions']['replied_user'] = mention_author
 | 
			
		||||
        except KeyError:
 | 
			
		||||
            pass
 | 
			
		||||
            payload['allowed_mentions'] = {
 | 
			
		||||
                'replied_user': mention_author,
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
    if attachments is MISSING:
 | 
			
		||||
        attachments = files  # type: ignore
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user