From f5170034d2836027504a4cf538cb0e65210844c1 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 9 Oct 2022 12:50:58 -0600 Subject: [PATCH] utils: fix selection menu components --- 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 19c819a..e358281 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -179,9 +179,9 @@ async function selectionMessage( components: [ { type: 3, - custom_id: msg.id, + customID: msg.id, options: [], - max_values: maxItems, + maxValues: maxItems, }, ], }, @@ -192,7 +192,7 @@ async function selectionMessage( type: 2, style: 4, label: "Cancel", - custom_id: "cancel", + customID: "cancel", }, ], },