fedimbed: fix cw check
This commit is contained in:
		
							parent
							
								
									fe37faedc0
								
							
						
					
					
						commit
						c6dfacff10
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -427,7 +427,7 @@ async function processUrl(msg, url) {
 | 
				
			||||||
    .catch(() => {});
 | 
					    .catch(() => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  await msg.channel.createMessage({
 | 
					  await msg.channel.createMessage({
 | 
				
			||||||
    content: cw && attachments.length > 0 ? `:warning: ${cw} || ${url} ||` : "",
 | 
					    content: cw && images.length > 0 && videos.length > 0 && audios.length ? `:warning: ${cw} || ${url} ||` : "",
 | 
				
			||||||
    embeds,
 | 
					    embeds,
 | 
				
			||||||
    files,
 | 
					    files,
 | 
				
			||||||
    allowedMentions: {
 | 
					    allowedMentions: {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue