jda is wank!
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
This commit is contained in:
parent
05bc0f0a41
commit
bf2e046718
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user