Another fix
This commit is contained in:
parent
3a87995f50
commit
0e86e9a573
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue