foxwells.vinboard: fix attachments again
This commit is contained in:
		
							parent
							
								
									0278645e2f
								
							
						
					
					
						commit
						050c2df232
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -239,8 +239,7 @@ async function createBoardMessage(msg, count) {
 | 
			
		|||
    username: msg.member?.displayName ?? msg.author.username,
 | 
			
		||||
    threadID: VINBOARD_THREAD_ID,
 | 
			
		||||
    embeds: [embed],
 | 
			
		||||
    attachments: image.file ? [{filename: "thumb.jpg"}] : null,
 | 
			
		||||
    files: image.file ? [{file: image.file, filename: "thumb.jpg"}] : null,
 | 
			
		||||
    files: image.file ? [{contents: image.file, filename: "thumb.jpg"}] : null,
 | 
			
		||||
    wait: true,
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue