diff --git a/index.js b/index.js index a62fb46..3085f71 100644 --- a/index.js +++ b/index.js @@ -837,7 +837,7 @@ discord.on("interactionCreate", async (interaction) => { console.error(err.message); interaction.reply({ content: "Failed to subscribe to room", ephemeral: true }); } else if (row) { - return interaction.reply({ content: `Already subscribed to \`${getWFOByRoom(room).location}\`\nIf you want to update a subscribtion, please unsubscribe and resubscribe. This will be made a command eventually.`, ephemeral: true }); + return interaction.reply({ content: `Already subscribed to \`${getWFOByRoom(room).location}\`\nIf you want to update a subscription, please unsubscribe and resubscribe. This will be made a command eventually.`, ephemeral: true }); } db.run(`INSERT INTO channels (channelid, iemchannel, custommessage, filter, filterEvt, minPriority) VALUES (?, ?, ?, ? ,? ,?)`, [interaction.channel.id, room, message, filter, filterEvt, minPriority], (err) => { if (err) { @@ -857,7 +857,7 @@ discord.on("interactionCreate", async (interaction) => { console.error(err.message); interaction.reply({ content: "Failed to subscribe to room", ephemeral: true }); } else if (row) { - return interaction.reply({ content: `Already subscribed to \`${getWFOByRoom(room).location}\`\nIf you want to update a subscribtion, please unsubscribe and resubscribe. This will be made a command eventually.`, ephemeral: true }); + return interaction.reply({ content: `Already subscribed to \`${getWFOByRoom(room).location}\`\nIf you want to update a subscription, please unsubscribe and resubscribe. This will be made a command eventually.`, ephemeral: true }); } db.run(`INSERT INTO userAlerts (userid, iemchannel, custommessage, filter, filterEvt, minPriority) VALUES (?, ?, ?, ? ,?, ?)`, [interaction.user.id, room, message, filter, filterEvt, minPriority], (err) => { if (err) {