Package group.worldstandard.pudel.api
package group.worldstandard.pudel.api
Core API for the Pudel Plugin Development Kit (PDK).
This package provides the fundamental interfaces and classes that plugins use to
interact with the Pudel Discord bot runtime. The main entry point for plugins is
the PluginContext interface, which provides
access to all bot services and Discord API functionality.
Key Components:
PluginContext- Main context for accessing bot servicesPluginInfo- Plugin metadata containerPudelProperties- Core bot properties and version info
Getting Started:
@Plugin(name = "MyPlugin", version = "1.0.0", author = "Author")
public class MyPlugin {
@OnEnable
public void onEnable(PluginContext context) {
context.log("info", "Plugin enabled!");
}
}
- Since:
- 2.3.0
-
ClassDescriptionContext provided to plugins for accessing bot services and Discord API.Contains metadata about a Pudel plugin.Provides core properties about the Pudel bot runtime.