From bf2e046718387a1576fcc8071382dc34da0b888c Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 11:16:25 +0100 Subject: [PATCH] jda is wank! --- .../base/commands/server/channel/SetTopicSubCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/features/base/commands/server/channel/SetTopicSubCommand.java b/src/main/java/cc/fascinated/bat/features/base/commands/server/channel/SetTopicSubCommand.java index 9e2b315..e458b85 100644 --- a/src/main/java/cc/fascinated/bat/features/base/commands/server/channel/SetTopicSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/base/commands/server/channel/SetTopicSubCommand.java @@ -46,7 +46,7 @@ public class SetTopicSubCommand extends BatSubCommand { .queue(); return; } - event.deferReply().queue(voidd -> textChannel.getManager().setTopic(topic).queue((voiddd) -> event.replyEmbeds(EmbedUtils.successEmbed() + event.deferReply().queue(hook -> textChannel.getManager().setTopic(topic).queue((voiddd) -> hook.editOriginalEmbeds(EmbedUtils.successEmbed() .setDescription("Successfully set the topic of <#%s> to: \"%s\"".formatted(textChannel.getId(), topic)) .build()).queue())); }