guildinfo.clan: show guild icon if no guild
This commit is contained in:
		
							parent
							
								
									322419198a
								
							
						
					
					
						commit
						7b2c6e110a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -166,6 +166,7 @@ guildinfo.callback = async function (msg, line, args, {nolocal, debug}) {
 | 
			
		|||
              inline: true,
 | 
			
		||||
            },
 | 
			
		||||
          ].filter((x) => !!x),
 | 
			
		||||
          thumbnail: !_guild ? {url: CDNEndpoints.GUILD_ICON(clan.id, clan.icon_hash)} : null,
 | 
			
		||||
          footer: !_guild ? {text: "Fetched from clan"} : null,
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue