From c116ed2dc8cb5b90a489a39802a69ee7a08ecdf1 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 24 Apr 2022 12:16:01 -0600 Subject: [PATCH] utils.selectionMessage: add description support --- src/lib/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/utils.js b/src/lib/utils.js index 24aad79..014a8a8 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -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) {