BugReports

open class BugReports

Contains utilities related to generating a bug report in the client

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class WebhookConfig

Functions

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