utils: fix selection menu components

This commit is contained in:
Cynthia Foxwell 2022-10-09 12:50:58 -06:00
parent 8a826cb0d5
commit f5170034d2

View file

@ -179,9 +179,9 @@ async function selectionMessage(
components: [ components: [
{ {
type: 3, type: 3,
custom_id: msg.id, customID: msg.id,
options: [], options: [],
max_values: maxItems, maxValues: maxItems,
}, },
], ],
}, },
@ -192,7 +192,7 @@ async function selectionMessage(
type: 2, type: 2,
style: 4, style: 4,
label: "Cancel", label: "Cancel",
custom_id: "cancel", customID: "cancel",
}, },
], ],
}, },