chore: update version to 0.10.200 and enable Display Components V2

This commit is contained in:
2025-09-20 20:26:38 -05:00
parent 6f06b0b99e
commit 136baedfc9
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "amayo",
"version": "0.0.1",
"version": "0.10.200",
"description": "",
"main": "src/main.ts",
"scripts": {

View File

@@ -100,8 +100,10 @@ export const command: CommandMessage = {
]
};
// Importante: activar Display Components V2 (32768) y mantener SuppressEmbeds
const panelMessage = await message.reply({
flags: MessageFlags.SuppressEmbeds,
// @ts-ignore - combinar flags numéricamente (V2 + SuppressEmbeds)
flags: (32768 | MessageFlags.SuppressEmbeds),
components: [setupPanel, mainActionsRow, managementRow]
});