From 0e86e9a573399bf6272be405f62ebc190e2c1e2d Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 20 Jan 2025 19:43:36 -0700 Subject: [PATCH] Another fix --- commands/forcelink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/forcelink.js b/commands/forcelink.js index 30eb1e3..8e4ee6f 100644 --- a/commands/forcelink.js +++ b/commands/forcelink.js @@ -17,7 +17,7 @@ const execute = async (interaction) => { } else if (row.discordId && row.discordId !== discordID.id) { return interaction.reply({ content: "This Roblox ID is already linked to another account", ephemeral: true }); } else { - await pool.query('UPDATE users SET discordId = ? discordDisplayName = ? WHERE robloxId = ?', [discordID.id, discordID.displayName, robloxId]); + await pool.query('UPDATE users SET discordId = ?, discordDisplayName = ? WHERE robloxId = ?', [discordID.id, discordID.displayName, robloxId]); } } catch (error) { log.error(error);