foxwells.vinboard: probably dont delete files when editing
This commit is contained in:
		
							parent
							
								
									765188c086
								
							
						
					
					
						commit
						069e0f57b7
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -320,7 +320,6 @@ async function processReaction(_msg, user, reaction) {
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const props = await createBoardMessage(msg, trueCount);
 | 
					        const props = await createBoardMessage(msg, trueCount);
 | 
				
			||||||
        delete props.files;
 | 
					 | 
				
			||||||
        props.attachments = [..._boardMessage.attachments.values()];
 | 
					        props.attachments = [..._boardMessage.attachments.values()];
 | 
				
			||||||
        await vinboard_webhook.editMessage(_boardMessage.id, props);
 | 
					        await vinboard_webhook.editMessage(_boardMessage.id, props);
 | 
				
			||||||
        await setBoardEntry(msg.id, trueCount, _boardMessage.id);
 | 
					        await setBoardEntry(msg.id, trueCount, _boardMessage.id);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue