chore: update version to 0.10.200 and enable Display Components V2
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "amayo",
|
"name": "amayo",
|
||||||
"version": "0.0.1",
|
"version": "0.10.200",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -100,8 +100,10 @@ export const command: CommandMessage = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Importante: activar Display Components V2 (32768) y mantener SuppressEmbeds
|
||||||
const panelMessage = await message.reply({
|
const panelMessage = await message.reply({
|
||||||
flags: MessageFlags.SuppressEmbeds,
|
// @ts-ignore - combinar flags numéricamente (V2 + SuppressEmbeds)
|
||||||
|
flags: (32768 | MessageFlags.SuppressEmbeds),
|
||||||
components: [setupPanel, mainActionsRow, managementRow]
|
components: [setupPanel, mainActionsRow, managementRow]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user