From 4f8a62e9c37304718d6e4a24353612907f714dab Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 21 Jan 2023 22:21:25 -0700 Subject: [PATCH] lib.utils: fix selection messages interactions --- src/lib/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/utils.js b/src/lib/utils.js index e85ef0c..610c882 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -179,9 +179,9 @@ async function selectionMessage( components: [ { type: 3, - customID: msg.id, + custom_id: msg.id, options: [], - maxValues: maxItems, + max_values: maxItems, }, ], }, @@ -192,7 +192,7 @@ async function selectionMessage( type: 2, style: 4, label: "Cancel", - customID: "cancel", + custom_id: "cancel", }, ], },