jda is wank!
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s

This commit is contained in:
Lee 2024-07-04 11:16:25 +01:00
parent 05bc0f0a41
commit bf2e046718

View File

@ -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()));
}