fedimbed: debugging weeeee
This commit is contained in:
		
							parent
							
								
									0d0bc6edaa
								
							
						
					
					
						commit
						270452acbc
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -523,11 +523,16 @@ async function processUrl(msg, url, spoiler = false, command = false) {
 | 
			
		|||
  let canFedi = hasFlag(msg.guildID, "fedimbed");
 | 
			
		||||
  let canBsky = hasFlag(msg.guildID, "bskyEmbeds");
 | 
			
		||||
 | 
			
		||||
  if (command == true) {
 | 
			
		||||
  logger.info("canFedi", canFedi);
 | 
			
		||||
  logger.info("canBsky", canBsky);
 | 
			
		||||
 | 
			
		||||
  if (command === true) {
 | 
			
		||||
    canFedi = true;
 | 
			
		||||
    canBsky = true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  logger.info("command", command);
 | 
			
		||||
 | 
			
		||||
  let invalidUrl = false;
 | 
			
		||||
  let urlObj;
 | 
			
		||||
  try {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue