New Version to add Presence
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Subsonics - Pipeline/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Subsonics - Pipeline/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										12
									
								
								src/main.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/main.js
									
									
									
									
									
								
							@@ -749,6 +749,11 @@ function startServer(client) {
 | 
			
		||||
 | 
			
		||||
            const { ActivityType } = require("discord.js")
 | 
			
		||||
 | 
			
		||||
            client.user.setPresence({
 | 
			
		||||
                activities: [{ name: `rien pour le moment`, type: ActivityType.Listening }],
 | 
			
		||||
                status: 'dnd',
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            data["current"] = player.queue.current
 | 
			
		||||
      
 | 
			
		||||
            if(player.queueRepeat == true) {
 | 
			
		||||
@@ -768,12 +773,7 @@ function startServer(client) {
 | 
			
		||||
                    status: 'dnd',
 | 
			
		||||
                });
 | 
			
		||||
 | 
			
		||||
            } else {
 | 
			
		||||
                client.user.setPresence({
 | 
			
		||||
                    activities: [{ name: `rien pour le moment`, type: ActivityType.Listening }],
 | 
			
		||||
                    status: 'dnd',
 | 
			
		||||
                });
 | 
			
		||||
            }
 | 
			
		||||
            } 
 | 
			
		||||
            
 | 
			
		||||
          
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user