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({
|
||||
label: value.display,
|
||||
value: value.key,
|
||||
description: value.description,
|
||||
});
|
||||
});
|
||||
if (options.length > 20) {
|
||||
|
|
Loading…
Reference in a new issue