Class SmartQueue

java.lang.Object
xyz.dynxsty.dih4jda.SmartQueue

public class SmartQueue extends Object
Smart Queue
This Class handles all the SmartQueue functionality which can be disabled using DIH4JDABuilder.setGlobalSmartQueue(boolean) and DIH4JDABuilder.setGuildSmartQueue(boolean).

This basically retrieves all existing commands and compares them with the local ones, thus, only queuing "new" (commands, which yet do not exist) or edited commands, which reduces the amount of total command updates.


In addition to that, this will also delete ALL unknown commands, which were not found locally. This can be disabled using DIH4JDABuilder.disableUnknownCommandDeletion().

Since:
v1.5