From bd4a0e2bc4c2589e8c0296a2db272f9069411af9 Mon Sep 17 00:00:00 2001 From: David M <62346025+aboutdavid@users.noreply.github.com> Date: Fri, 18 Oct 2024 22:02:07 -0400 Subject: [PATCH] swap messages --- commands/setpersonal.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/commands/setpersonal.js b/commands/setpersonal.js index d9f86c0..42ed544 100644 --- a/commands/setpersonal.js +++ b/commands/setpersonal.js @@ -44,7 +44,7 @@ module.exports = async function ({ app, prisma }) { }, }); return await respond( - "Your channel has been marked as personal. Run the command again to unmark it.", + "This channel has been marked as regular. Run this command again to mark it as personal.", ); } @@ -57,10 +57,6 @@ module.exports = async function ({ app, prisma }) { personal: true }, }); - await app.client.chat.postEphemeral({ - channel: channel.channel.id, - user: command.user_id, - text: "This channel has been marked as regular. Run this command again to mark it as personal.", - }); + await respond("Your channel has been marked as personal. Run this command again to mark it as regular.") }); };