feat(economy): enhance minigame commands to track stats, quest progress, and achievements

This commit is contained in:
2025-10-05 05:35:32 -05:00
parent b10cc89583
commit 0990533f6e
15 changed files with 954 additions and 30 deletions

View File

@@ -52,15 +52,15 @@ export async function giveRewards(
guildId,
action: 'reward_given',
target: source,
details: rewards
details: rewards as any
}
}).catch(() => {}); // Silencioso si falla el log
logger.info(`Rewards given to ${userId} in ${guildId} from ${source}:`, rewards);
console.log(`Rewards given to ${userId} in ${guildId} from ${source}:`, rewards);
return results;
} catch (error) {
logger.error(`Error giving rewards to ${userId} in ${guildId}:`, error);
console.error(`Error giving rewards to ${userId} in ${guildId}:`, error);
throw error;
}
}