From e915a385fb966c710d513c1f2ace41db52332716 Mon Sep 17 00:00:00 2001 From: TheCodedProf Date: Sun, 5 Mar 2023 16:44:29 -0500 Subject: [PATCH] fixed privacy --- src/commands/help.ts | 3 ++- src/commands/privacy.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/help.ts b/src/commands/help.ts index fe829b9..482bca2 100644 --- a/src/commands/help.ts +++ b/src/commands/help.ts @@ -85,7 +85,8 @@ const callback = async (interaction: CommandInteraction): Promise => { : `` }\n\n\n` + `Nucleus is fully [open source](https://github.com/clicksminuteper/Nucleus), and all currently free features will remain free forever.\n\n` + - `You can invite Nucleus to your server using ${getCommandMentionByName("nucleus/invite")}` + `You can invite Nucleus to your server using ${getCommandMentionByName("nucleus/invite")}\n` + + `Our support server can be found [here](https://discord.gg/bPaNnxe), and we can be emailed at support@clicks.codes` ); } else { const currentData = getCommandByName( diff --git a/src/commands/privacy.ts b/src/commands/privacy.ts index 1b0c6bb..fecd041 100644 --- a/src/commands/privacy.ts +++ b/src/commands/privacy.ts @@ -84,6 +84,7 @@ const callback = async (interaction: CommandInteraction): Promise => { .setLabel("Clear all data") .setCustomId("clear-all-data") .setStyle(ButtonStyle.Danger) + .setDisabled(!(interaction.user.id === interaction.guild!.ownerId)) ]) ]) ]