From 98ca57e4d9a94c76ab050cc7381cc1a7e08ce552 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 11 Aug 2025 01:56:14 -0600 Subject: [PATCH] Gwuuh --- modules/commands/export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/export.js b/modules/commands/export.js index 5c3b09d..6a8e003 100644 --- a/modules/commands/export.js +++ b/modules/commands/export.js @@ -52,7 +52,7 @@ module.exports.execute = async (interaction, client, db) => { // Convert rows to CSV format const csvRows = rows.map(row => `${row.timestamp},${row.reading},${row.notes}`); - const msg = rows.map(row => `**ID:** ${row.id}\n**Timestamp:** \n**Reading:** ${row.reading}\n**Notes:** ${row.notes || 'None'}`).join('\n'); + const msg = rows.map(row => `**ID:** ${row.id}\n**Timestamp:** **Reading:** ${row.reading} **Notes:** ${row.notes || 'None'}`).join('\n'); const csvContent = `Timestamp,Reading,Notes\n${csvRows.join('\n')}`; const csvBuffer = Buffer.from(csvContent, 'utf8'); const attachment = new Discord.AttachmentBuilder(csvBuffer, { name: `glucose_readings.csv` });