Add .queue() to embed action in CommandSyncNitro for proper execution
This commit is contained in:
parent
7e26aba4ab
commit
1bd6602421
|
|
@ -82,7 +82,7 @@ public class CommandSyncNitro extends DiscordCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
replyCallbackAction.setEmbeds(Util.genericSuccessEmbed("Success", "Syncing " + userIdList.size() + " users in background"))
|
replyCallbackAction.setEmbeds(Util.genericSuccessEmbed("Success", "Syncing " + userIdList.size() + " users in background"))
|
||||||
.queue();
|
.queue(RestAction.getDefaultSuccess(), Util::handleFailure);
|
||||||
|
|
||||||
scheduler.shutdown();
|
scheduler.shutdown();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user