Package tk.booky.jdahelper.api
Class AbstractJDAMain
- java.lang.Object
-
- tk.booky.jdahelper.api.AbstractJDAMain
-
public abstract class AbstractJDAMain extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractJDAMain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.dv8tion.jda.api.sharding.ShardManagergetJDA()booleanhasStarted()voidshutdown()voidstartJDA(java.lang.String token, java.util.List<net.dv8tion.jda.api.requests.GatewayIntent> gatewayIntents, java.util.List<net.dv8tion.jda.api.utils.cache.CacheFlag> cacheFlags)
-
-
-
Method Detail
-
startJDA
public final void startJDA(java.lang.String token, java.util.List<net.dv8tion.jda.api.requests.GatewayIntent> gatewayIntents, java.util.List<net.dv8tion.jda.api.utils.cache.CacheFlag> cacheFlags)
-
shutdown
public void shutdown()
-
getJDA
public net.dv8tion.jda.api.sharding.ShardManager getJDA()
-
hasStarted
public boolean hasStarted()
-
-