fix name length not being set properly
This commit is contained in:
		
							parent
							
								
									adf3e5fe4d
								
							
						
					
					
						commit
						985d651309
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ function processMessage({
 | 
			
		|||
  noColor = false,
 | 
			
		||||
}) {
 | 
			
		||||
  if (name.length + 2 > comcord.state.nameLength)
 | 
			
		||||
    comcord.statenameLength = name.length + 2;
 | 
			
		||||
    comcord.state.nameLength = name.length + 2;
 | 
			
		||||
 | 
			
		||||
  if (reply) {
 | 
			
		||||
    const nameColor = reply.author.bot ? chalk.bold.yellow : chalk.bold.cyan;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue