Package xyz.dynxsty.dih4jda.config
Class DIH4JDAConfig
java.lang.Object
xyz.dynxsty.dih4jda.config.DIH4JDAConfig
Simple data class which represents the config of a single
DIH4JDA
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]net.dv8tion.jda.api.JDAgetJDA()booleanbooleanbooleanbooleanbooleanbooleanvoidsetBlockedLogTypes(DIH4JDALogger.Type[] blockedLogTypes) voidsetCommandPackages(String... commandsPackage) voidsetDefaultPrintStacktrace(boolean defaultPrintStacktrace) voidsetDeleteUnknownCommands(boolean deleteUnknownCommands) voidsetExecutor(Executor executor) voidsetGlobalSmartQueue(boolean globalSmartQueue) voidsetGuildSmartQueue(boolean guildSmartQueue) voidsetJDA(net.dv8tion.jda.api.JDA jda) voidsetRegisterOnReady(boolean registerOnReady) voidsetThrowUnregisteredException(boolean throwUnregisteredException)
-
Constructor Details
-
DIH4JDAConfig
public DIH4JDAConfig()
-
-
Method Details
-
getJDA
public net.dv8tion.jda.api.JDA getJDA() -
setJDA
public void setJDA(net.dv8tion.jda.api.JDA jda) -
getCommandPackages
-
setCommandPackages
-
getBlockedLogTypes
-
setBlockedLogTypes
-
isRegisterOnReady
public boolean isRegisterOnReady() -
setRegisterOnReady
public void setRegisterOnReady(boolean registerOnReady) -
isGlobalSmartQueue
public boolean isGlobalSmartQueue() -
setGlobalSmartQueue
public void setGlobalSmartQueue(boolean globalSmartQueue) -
isGuildSmartQueue
public boolean isGuildSmartQueue() -
setGuildSmartQueue
public void setGuildSmartQueue(boolean guildSmartQueue) -
isDeleteUnknownCommands
public boolean isDeleteUnknownCommands() -
setDeleteUnknownCommands
public void setDeleteUnknownCommands(boolean deleteUnknownCommands) -
isDefaultPrintStacktrace
public boolean isDefaultPrintStacktrace() -
setDefaultPrintStacktrace
public void setDefaultPrintStacktrace(boolean defaultPrintStacktrace) -
getExecutor
-
setExecutor
-
isThrowUnregisteredException
public boolean isThrowUnregisteredException() -
setThrowUnregisteredException
public void setThrowUnregisteredException(boolean throwUnregisteredException)
-