feat: update message reply flags for admin panel components in stats.ts
This commit is contained in:
@@ -181,7 +181,7 @@ export const command: CommandMessage = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
await message.reply({
|
await message.reply({
|
||||||
content: '',
|
flags: 32768,
|
||||||
components: [resetPanel]
|
components: [resetPanel]
|
||||||
});
|
});
|
||||||
logger.info(`Sistema de IA reiniciado por ${message.author.username} (${message.author.id})`);
|
logger.info(`Sistema de IA reiniciado por ${message.author.username} (${message.author.id})`);
|
||||||
@@ -192,7 +192,7 @@ export const command: CommandMessage = {
|
|||||||
const adminPanel = buildAIAdminPanel();
|
const adminPanel = buildAIAdminPanel();
|
||||||
|
|
||||||
await message.reply({
|
await message.reply({
|
||||||
content: '',
|
flags: 32768,
|
||||||
components: [adminPanel]
|
components: [adminPanel]
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ export const command: CommandMessage = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
await message.reply({
|
await message.reply({
|
||||||
content: '',
|
flags: 32768,
|
||||||
components: [errorPanel]
|
components: [errorPanel]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user