presence: add platform
This commit is contained in:
		
							parent
							
								
									ae0a5c78fa
								
							
						
					
					
						commit
						21c4bc2565
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -239,6 +239,10 @@ presence.callback = async function (msg, line) {
 | 
			
		|||
          }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (activity.platform) {
 | 
			
		||||
          descLines.push(`-# Platform: ${activity.platform}`);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (activity.assets?.large_text && activity.type != 2) {
 | 
			
		||||
          descLines.push("### Large Text", activity.assets.large_text);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue