Add .queue() to embed action in CommandSyncNitro for proper execution
This commit is contained in:
@@ -81,7 +81,8 @@ public class CommandSyncNitro extends DiscordCommand {
|
||||
}, 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user