const client = global.discord_client const pool = global.db_pool; const execute = async (interaction) => { const robloxId = interaction.options.getNumber("roblox-id"); const discordID = interaction.options.getUser("discord-id")?.id; if (discordID) await pool.query("UPDATE users SET discordId = NULL WHERE discordId = ?", [discordID]); if (robloxId) await pool.query("UPDATE users SET discordId = NULL WHERE robloxId = ?", [robloxId]); return interaction.reply({ content: "Successfully unlinked accounts (If either were linked)", ephemeral: true }); } const noop = () => { }; module.exports = { execute: noop }