From 3a9309fcee9a6cc358fa7d13f2d4d7967b8089fe Mon Sep 17 00:00:00 2001 From: Maliq Adewale Date: Wed, 30 Apr 2025 23:27:46 -0400 Subject: [PATCH] removed the calID from the success nessages for privacy --- src/commands/general/importcalendar.ts | 2 +- src/commands/general/removecalendar.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/general/importcalendar.ts b/src/commands/general/importcalendar.ts index 160f7741..cdbf980a 100644 --- a/src/commands/general/importcalendar.ts +++ b/src/commands/general/importcalendar.ts @@ -80,7 +80,7 @@ export default class ImportCalendarCommand extends Command { // 8️⃣ Success await interaction.followUp({ - content: `✅ Successfully added **${calendarName}** (\`${calendarId}\`) to the calendar list.` + content: `✅ Successfully added **${calendarName}** to the calendar list.` }); } catch (dbErr) { console.error('Database error:', dbErr); diff --git a/src/commands/general/removecalendar.ts b/src/commands/general/removecalendar.ts index 39c7cc22..2b8e4727 100644 --- a/src/commands/general/removecalendar.ts +++ b/src/commands/general/removecalendar.ts @@ -69,7 +69,7 @@ export default class RemoveCalendarCommand extends Command { await collection.deleteOne({ calendarId: selectedId }); const removed = calendarDocs.find((calendarDoc) => calendarDoc.calendarId === selectedId); await i.update({ - content: `✅ Successfully removed **${removed?.calendarName}** (\`${selectedId}\`).`, + content: `✅ Successfully removed **${removed?.calendarName}**.`, components: [] }); await client.close();