forked from embee/woomy
		
	fix joinArguments conf
This commit is contained in:
		
							parent
							
								
									fe5a9ccdc2
								
							
						
					
					
						commit
						8e850b1adf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -111,7 +111,7 @@ module.exports = async (client, message) => {
 | 
				
			||||||
  if(cmd.conf.joinArguments) {
 | 
					  if(cmd.conf.joinArguments) {
 | 
				
			||||||
    if(args.length > cmd.conf.joinArguments && args.length > 1)
 | 
					    if(args.length > cmd.conf.joinArguments && args.length > 1)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        argsPossiblyJoined[argsLength - 1] = args.slice(argsLength - 1).join(' ');
 | 
					        argsPossiblyJoined[cmd.conf.joinArguments - 1] = args.slice(cmd.conf.joinArguments - 1).join(' ');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue