Interface PudelProperties
public interface PudelProperties
Provides core properties about the Pudel bot runtime.
Plugins can access this via PluginContext.getPudel() to check
the core version, codename, or user agent string.
Example usage in a @Plugin class:
@OnEnable
public void onEnable(PluginContext context) {
PudelProperties pudel = context.getPudel();
context.log("info", "Running on Pudel " + pudel.getVersion()
+ " (" + pudel.getCodename() + ")");
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the release codename (e.g., "Schnauzer").getName()Gets the bot name (e.g., "Pudel").Gets the HTTP user-agent string used for outgoing requests.Gets the semantic version of the core (e.g., "2.2.0").