utils.selectionMessage: add description support
This commit is contained in:
		
							parent
							
								
									b3444b16e1
								
							
						
					
					
						commit
						c116ed2dc8
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -197,6 +197,7 @@ async function selectionMessage(msg, heading, options, timeout = 30000) {
 | 
				
			||||||
    data.components[0].components[0].options.push({
 | 
					    data.components[0].components[0].options.push({
 | 
				
			||||||
      label: value.display,
 | 
					      label: value.display,
 | 
				
			||||||
      value: value.key,
 | 
					      value: value.key,
 | 
				
			||||||
 | 
					      description: value.description,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
  if (options.length > 20) {
 | 
					  if (options.length > 20) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue