diff --git a/commands/updateStatus.js b/commands/updateStatus.js index 8b6bed5..2c1dc6c 100644 --- a/commands/updateStatus.js +++ b/commands/updateStatus.js @@ -41,7 +41,7 @@ module.exports = { if (!useCommand) return interaction.send({ content: "You don't have permission to use this command" }); let user = await client.dbo.collection("users").findOne({"user.discord.id":interaction.member.user.id}).then(user => user); - if (!user) return interaction.send({ content: `You are not logged in <@${interactoin.member.user.id}>` }); + if (!user) return interaction.send({ content: `You are not logged in <@${interaction.member.user.id}>` }); if (user.user.activeCommunity==null) return interaction.send({ content: `You must join a community to use this command.` }); let onDuty=null; let updateDuty=false; @@ -72,4 +72,4 @@ module.exports = { return; }, }, -} \ No newline at end of file +}