- All Superinterfaces:
AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
NEED_JAVADOC
- Author:
- Ashley
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<net.dv8tion.jda.api.interactions.commands.build.CommandData>Deprecated, for removal: This API element is subject to removal in a future version.default StringDeprecated, for removal: This API element is subject to removal in a future version.Get the description of this plugin.default StringgetName()Deprecated, for removal: This API element is subject to removal in a future version.Get the name of this plugin.default Runtime.VersionDeprecated, for removal: This API element is subject to removal in a future version.Get the version of this plugin.voidinit(ProtectedJDABuilder builder) Deprecated, for removal: This API element is subject to removal in a future version.NEED_JAVADOCvoidDeprecated, for removal: This API element is subject to removal in a future version.NEED_JAVADOCvoidDeprecated, for removal: This API element is subject to removal in a future version.NEED_JAVADOCvoidpreInit()Deprecated, for removal: This API element is subject to removal in a future version.Startup method called when resources, needed for functionality initialization, are to be loaded.default booleanDeprecated, for removal: This API element is subject to removal in a future version.Check whether this plugin provides commands/interactions.default booleanDeprecated, for removal: This API element is subject to removal in a future version.Check whether this plugin requires access to the database connection.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
preInit
Deprecated, for removal: This API element is subject to removal in a future version.Startup method called when resources, needed for functionality initialization, are to be loaded. Resources that do not require connection to Discord or the database should be loaded here.Database and Discord information might not be loaded at the time of this method! Use
onReady(WatameBot)for functionality that requires valid connections.Typical resources to load here include:
- SQL compiled statements
- System Data
- Files
- Images
- Throws:
SeverePluginException- See Also:
-
init
Deprecated, for removal: This API element is subject to removal in a future version.NEED_JAVADOC- Throws:
SeverePluginException- See Also:
-
postInit
Deprecated, for removal: This API element is subject to removal in a future version.NEED_JAVADOC- Parameters:
bot-- Throws:
SeverePluginException- See Also:
-
onReady
Deprecated, for removal: This API element is subject to removal in a future version.NEED_JAVADOC- Parameters:
bot-- Throws:
SeverePluginException
-
getCommands
Deprecated, for removal: This API element is subject to removal in a future version. -
getName
Deprecated, for removal: This API element is subject to removal in a future version.Get the name of this plugin.- Returns:
- A string containing the name of the plugin
- See Also:
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.Get the description of this plugin.- Returns:
- A string containing the description of this plugin
- See Also:
-
getVersion
Deprecated, for removal: This API element is subject to removal in a future version.Get the version of this plugin.- Returns:
- A
Runtime.Versionrepresenting this plugin - See Also:
-
providesCommands
default boolean providesCommands()Deprecated, for removal: This API element is subject to removal in a future version.Check whether this plugin provides commands/interactions.- Returns:
- If this plugin provides command data
-
requiresDatabaseConnection
default boolean requiresDatabaseConnection()Deprecated, for removal: This API element is subject to removal in a future version.Check whether this plugin requires access to the database connection.- Returns:
- If this plugin uses the database
-