codePreviews: suppress embeds
This commit is contained in:
		
							parent
							
								
									fa91219714
								
							
						
					
					
						commit
						e8b4ffe358
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -90,8 +90,9 @@ events.add("messageCreate", "codePreviews", async function (msg) {
 | 
			
		|||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (out !== "")
 | 
			
		||||
    msg.channel.createMessage({
 | 
			
		||||
  if (out !== "") {
 | 
			
		||||
    await msg.edit({flags: 1 << 2});
 | 
			
		||||
    await msg.channel.createMessage({
 | 
			
		||||
      content: out,
 | 
			
		||||
      allowedMentions: {
 | 
			
		||||
        repliedUser: false,
 | 
			
		||||
| 
						 | 
				
			
			@ -100,4 +101,5 @@ events.add("messageCreate", "codePreviews", async function (msg) {
 | 
			
		|||
        messageID: msg.id,
 | 
			
		||||
      },
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue