From 353962e5695b41ec950b706d1600a59136dc7e74 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 6 Jul 2024 20:02:20 +0100 Subject: [PATCH] enable spotify linking (even tho it doesn't work w/o me adding you rn) --- .../base/commands/fun/PPSizeCommand.java | 2 +- .../spotify/command/LinkSubCommand.java | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/base/commands/fun/PPSizeCommand.java b/src/main/java/cc/fascinated/bat/features/base/commands/fun/PPSizeCommand.java index d90cd3d..fec9441 100644 --- a/src/main/java/cc/fascinated/bat/features/base/commands/fun/PPSizeCommand.java +++ b/src/main/java/cc/fascinated/bat/features/base/commands/fun/PPSizeCommand.java @@ -23,7 +23,7 @@ import org.springframework.stereotype.Component; @Component @CommandInfo( name = "ppsize", - description = "Get the size of your pp", + description = "Get the size of someone's pp", userInstall = true ) public class PPSizeCommand extends BatCommand { diff --git a/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java b/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java index 8e9e9c1..9ac736e 100644 --- a/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java @@ -40,17 +40,17 @@ public class LinkSubCommand extends BatCommand implements EventListener { @Override @SneakyThrows public void execute(BatGuild guild, @NonNull BatUser user, @NonNull MessageChannel channel, Member member, @NonNull SlashCommandInteraction event) { - if (!user.getId().equals(Consts.BOT_OWNER)) { - event.replyEmbeds(EmbedUtils.errorEmbed() - .setDescription(""" - %s We are currently awaiting Spotify's approval for our application. Please check back later. - Submitted on: - """.formatted(Emojis.CROSS_MARK_EMOJI)) - .build()) - .setEphemeral(true) - .queue(); - return; - } +// if (!user.getId().equals(Consts.BOT_OWNER)) { +// event.replyEmbeds(EmbedUtils.errorEmbed() +// .setDescription(""" +// %s We are currently awaiting Spotify's approval for our application. Please check back later. +// Submitted on: +// """.formatted(Emojis.CROSS_MARK_EMOJI)) +// .build()) +// .setEphemeral(true) +// .queue(); +// return; +// } event.replyEmbeds(EmbedUtils.genericEmbed() .setDescription("%s You can link your Spotify account by clicking [here](%s)".formatted( Emojis.SPOTIFY_EMOJI.getFormatted(),