fedimbed: forgot to ignore self whoops
This commit is contained in:
		
							parent
							
								
									038224bf75
								
							
						
					
					
						commit
						680891f264
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -325,6 +325,7 @@ async function processUrl(msg, url) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
events.add("messageCreate", "fedimbed", async function (msg) {
 | 
			
		||||
  if (msg.author.id == hf.bot.user.id) return;
 | 
			
		||||
  if (!msg.guildID) return;
 | 
			
		||||
  if (!(await hasFlag(msg.guildID, "fedimbed"))) return;
 | 
			
		||||
  if (!msg.content || msg.content == "") return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue