mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Fixed duplicate help entries.
This commit is contained in:
		
							parent
							
								
									6ea052ae6f
								
							
						
					
					
						commit
						3cd05cd48c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -27,7 +27,7 @@ export default new NamedCommand({ | ||||||
|             let output = LEGEND; |             let output = LEGEND; | ||||||
| 
 | 
 | ||||||
|             for (const command of commandList) { |             for (const command of commandList) { | ||||||
|                 const field = `\n❯ \`${command.name}\`: ${command.description}`.repeat(2); |                 const field = `\n❯ \`${command.name}\`: ${command.description}`; | ||||||
|                 const newOutput = output + field; |                 const newOutput = output + field; | ||||||
| 
 | 
 | ||||||
|                 // Push then reset the output if it overflows, otherwise, continue as normal.
 |                 // Push then reset the output if it overflows, otherwise, continue as normal.
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue