fix modifiers parsing
This commit is contained in:
		
							parent
							
								
									3d146e9c7b
								
							
						
					
					
						commit
						b2d4d0c0a4
					
				| 
						 | 
					@ -45,7 +45,7 @@ export const roll = async (message: DiscordenoMessage, args: string[], command:
 | 
				
			||||||
    const m = await message.reply(rollingEmbed);
 | 
					    const m = await message.reply(rollingEmbed);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Get modifiers from command
 | 
					    // Get modifiers from command
 | 
				
			||||||
    const [modifiers, remainingArgs] = getModifiers(args);
 | 
					    const [modifiers, remainingArgs] = getModifiers(args.join('').split(' '));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Return early if the modifiers were invalid
 | 
					    // Return early if the modifiers were invalid
 | 
				
			||||||
    if (!modifiers.valid) {
 | 
					    if (!modifiers.valid) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue