Add .queue() to embed action in CommandSyncNitro for proper execution

This commit is contained in:
akastijn 2025-11-08 20:28:54 +01:00
parent 47eb88cbae
commit 7e26aba4ab

View File

@ -81,7 +81,8 @@ public class CommandSyncNitro extends DiscordCommand {
}, i, TimeUnit.SECONDS); }, i, TimeUnit.SECONDS);
} }
replyCallbackAction.setEmbeds(Util.genericSuccessEmbed("Success", "Syncing " + userIdList.size() + " users in background")); replyCallbackAction.setEmbeds(Util.genericSuccessEmbed("Success", "Syncing " + userIdList.size() + " users in background"))
.queue();
scheduler.shutdown(); scheduler.shutdown();
} }