From da7874c53f75918dbf2c0d315b969b5ebf0ce956 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 28 Jul 2024 15:40:25 -0600 Subject: [PATCH] sent from my subtext --- src/lib/commandDispatcher.js | 4 ++-- src/lib/interactionDispatcher.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index cf47be3..a2e039a 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -82,11 +82,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-# Sent from my iPhone"; } if (cmdObj.elevatedOnly && !hf.config.elevated.includes(msg.author.id)) { - return "No\n\nSent from my iPhone"; + return "No\n-# Sent from my iPhone"; } if (cmdObj.guildOnly && !msg.guildID) { diff --git a/src/lib/interactionDispatcher.js b/src/lib/interactionDispatcher.js index 02403c0..32a1e1d 100644 --- a/src/lib/interactionDispatcher.js +++ b/src/lib/interactionDispatcher.js @@ -5,14 +5,14 @@ const {pastelize, getTopColor} = require("../util/misc.js"); 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-# Sent from my iPhone", flags: MessageFlags.EPHEMERAL, }; } if (command.elevatedOnly && !hf.config.elevated.includes(interaction.user.id)) { return { - content: "No\n\nSent from my iPhone", + content: "No\n-# Sent from my iPhone", flags: MessageFlags.EPHEMERAL, }; }