utils.selectionMessage: this commit doesnt exist the previous issue never happened
This commit is contained in:
		
							parent
							
								
									f4b6e126f6
								
							
						
					
					
						commit
						fd11f266e9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -247,7 +247,7 @@ async function selectionMessage(
 | 
				
			||||||
            if (maxItems > 1) {
 | 
					            if (maxItems > 1) {
 | 
				
			||||||
              result = options
 | 
					              result = options
 | 
				
			||||||
                .filter((opt) => interaction.data.values.includes(opt.key))
 | 
					                .filter((opt) => interaction.data.values.includes(opt.key))
 | 
				
			||||||
                .map((opt) => opt.value);
 | 
					                .map((opt) => opt.key);
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
              result = options.filter(
 | 
					              result = options.filter(
 | 
				
			||||||
                (opt) => opt.key == interaction.data.values[0]
 | 
					                (opt) => opt.key == interaction.data.values[0]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue