add disableRPC rc option
This commit is contained in:
		
							parent
							
								
									4880662c44
								
							
						
					
					
						commit
						0b20d3e9a7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -109,7 +109,7 @@ client.once("ready", function () {
 | 
			
		|||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (client.user.bot) {
 | 
			
		||||
  if (client.user.bot && !config.disableRPC) {
 | 
			
		||||
    rpc
 | 
			
		||||
      .login({
 | 
			
		||||
        clientId: CLIENT_ID,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue