BugReports

public class BugReports

Contains utilities related to generating a bug report in the client

Types

WebhookConfig
Link copied to clipboard
public final class WebhookConfig

Functions

configureWebhooks
Link copied to clipboard
static void configureWebhooks(@Nullable() BugReports.WebhookConfig config)
Configures bug report webhook settings with the specified config
reportException
Link copied to clipboard
static void reportException(Throwable throwable)
Reports the exception through a discord webhook.
setExtraScriptData
Link copied to clipboard
static void setExtraScriptData(Supplier<String> extraScriptData)
Sets the extra script data to be included in a bug report.