Add .queue() to embed action in CommandSyncNitro for proper execution
This commit is contained in:
parent
47eb88cbae
commit
7e26aba4ab
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user