utils: fix selection menu components
This commit is contained in:
parent
8a826cb0d5
commit
f5170034d2
1 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue