From 109f51d2a64c6e8c93cdc98e1b9e4f4fbf1b4839 Mon Sep 17 00:00:00 2001 From: shni Date: Sat, 4 Oct 2025 04:37:03 -0500 Subject: [PATCH] feat: enhance image command with additional metadata and improve usage instructions --- src/commands/messages/AI/image.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/messages/AI/image.ts b/src/commands/messages/AI/image.ts index b5c2e0c..84e7236 100644 --- a/src/commands/messages/AI/image.ts +++ b/src/commands/messages/AI/image.ts @@ -5,8 +5,12 @@ import logger from '../../../core/lib/logger'; export default { name: 'image', description: 'Genera una imagen usando IA', + type: 'message', + aliases: ['imagen', 'img', 'draw', 'dibuja'], + category: 'AI', + usage: 'imagen ', cooldown: 10, - async execute(message: Message, args: string[]) { + async run(message: Message, args: string[]) { // Verificar que hay un prompt if (!args || args.length === 0) { await message.reply('❌ **Error**: Debes proporcionar una descripción para generar la imagen.\n\n**Ejemplo**: `imagen un gato espacial flotando entre estrellas`');