Package com.gmt2001.module
Class CoreModule
java.lang.Object
com.gmt2001.module.Module
com.gmt2001.module.CoreModule
A bot module which is a core module
A CoreModule will always load before other Module
- Author:
- gmt2001
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Executes after all CoreModule have loaded, but before otherModule
start loadingint
Indicates the sort order in whichafterCoreLoad()
should be calledMethods inherited from class com.gmt2001.module.Module
afterLoad, defaultEnabledState, isEnabled, onCommandEvent, onDisable, onDiscordChannelCommandEvent, onEnable, onEvent, onIRCModerationEvent, onLoad
-
Constructor Details
-
CoreModule
public CoreModule()
-
-
Method Details
-
afterCoreLoad
public void afterCoreLoad()Executes after all CoreModule have loaded, but before otherModule
start loading -
afterCoreLoadOrder
public int afterCoreLoadOrder()Indicates the sort order in whichafterCoreLoad()
should be calledModules which return lower numbers get called first
Call order when multiple modules have the same order is not guaranteed
- Returns:
- the sort order
-