Change bot presence to online
This commit is contained in:
		
							parent
							
								
									625bbf1e6f
								
							
						
					
					
						commit
						66187601bf
					
				
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							| 
						 | 
					@ -78,7 +78,7 @@ function getOnlineReport(channel = null) {
 | 
				
			||||||
    embed.setTitle("**Players Currently Online:** " + playerCount);
 | 
					    embed.setTitle("**Players Currently Online:** " + playerCount);
 | 
				
			||||||
    if ( channel !== null ) channel.send({embeds: [embed]});
 | 
					    if ( channel !== null ) channel.send({embeds: [embed]});
 | 
				
			||||||
    if ( Config.PRESENCE_INTERVAL != 0 ) {
 | 
					    if ( Config.PRESENCE_INTERVAL != 0 ) {
 | 
				
			||||||
        client.user.setPresence({ activities: [{ name: "Online: " + playerCount }], status: 'idle' });
 | 
					        client.user.setPresence({ activities: [{ name: "Online: " + playerCount }], status: 'online' });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user