enable spotify linking (even tho it doesn't work w/o me adding you rn)
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m17s

This commit is contained in:
Lee 2024-07-06 20:02:20 +01:00
parent d0ba6e72a4
commit 353962e569
2 changed files with 12 additions and 12 deletions

@ -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 {

@ -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: <t:1719583353>
""".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: <t:1719583353>
// """.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(),