utility.presence: fix icons
This commit is contained in:
		
							parent
							
								
									3f08e9aeb0
								
							
						
					
					
						commit
						dff6bb3e27
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -716,7 +716,7 @@ presence.callback = async function (msg, line) {
 | 
			
		|||
    for (const platform of Object.keys(target.clientStatus)) {
 | 
			
		||||
      const status = target.clientStatus[platform];
 | 
			
		||||
 | 
			
		||||
      icons += PRESENCE_ICONS[platform][status] + " ";
 | 
			
		||||
      icons += (PRESENCE_ICONS[platform][status] ?? "") + " ";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const embeds = [];
 | 
			
		||||
| 
						 | 
				
			
			@ -902,7 +902,7 @@ presence.callback = async function (msg, line) {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    return {
 | 
			
		||||
      content: `Presence for **${target.username}#${target.discriminator}**: ${icons}`,
 | 
			
		||||
      content: `Presence for **${target.username}#${target.discriminator}**: ${icons.trim()}`,
 | 
			
		||||
      embeds,
 | 
			
		||||
      files,
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue