fix status messages
This commit is contained in:
		
							parent
							
								
									f1b8282ba2
								
							
						
					
					
						commit
						3c3d4e5eff
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -11,10 +11,12 @@ function setStatus() {
 | 
			
		|||
    .replace("%users%", hf.bot.users.size)
 | 
			
		||||
    .replace("%commands%", hf.commands.size);
 | 
			
		||||
 | 
			
		||||
  hf.bot.editStatus("online", {
 | 
			
		||||
    type: status.type,
 | 
			
		||||
    name: `${text} | ${hf.config.prefix}help`,
 | 
			
		||||
  });
 | 
			
		||||
  hf.bot.editStatus("online", [
 | 
			
		||||
    {
 | 
			
		||||
      type: status.type,
 | 
			
		||||
      name: `${text} | ${hf.config.prefix}help`,
 | 
			
		||||
    },
 | 
			
		||||
  ]);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
hf.bot.once("ready", setStatus);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue