diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index 9681dfa..c0a6965 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -85,11 +85,11 @@ async function runCommand(msg, cmd, line) { if (!cmdObj) return null; if (cmdObj.ownerOnly && msg.author.id != hf.config.owner_id) { - return "No\n\nSent from my iPhone."; + return "No\n\nSent from my iPhone"; } if (cmdObj.elevatedOnly && !hf.config.elevated.includes(msg.author.id)) { - return "No\n\nSent from my iPhone."; + return "No\n\nSent from my iPhone"; } if (cmdObj.guildOnly && !msg.guildID) { diff --git a/src/lib/interactionDispatcher.js b/src/lib/interactionDispatcher.js index 9f41577..6ecbae5 100644 --- a/src/lib/interactionDispatcher.js +++ b/src/lib/interactionDispatcher.js @@ -12,7 +12,7 @@ function getOption(interaction, command, key) { async function runCommand(interaction, command) { if (command.ownerOnly && interaction.user.id != hf.config.owner_id) { return { - content: "No\n\nSent from my iPhone.", + content: "No\n\nSent from my iPhone", flags: MessageFlags.EPHEMERAL, }; } @@ -22,7 +22,7 @@ async function runCommand(interaction, command) { !hf.config.elevated.includes(interaction.user.id) ) { return { - content: "No\n\nSent from my iPhone.", + content: "No\n\nSent from my iPhone", flags: MessageFlags.EPHEMERAL, }; }