Package com.Moshu.Misc.Hooks
Class DiscordWebhook
java.lang.Object
com.Moshu.Misc.Hooks.DiscordWebhook
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscordWebhookgetURL()voidinit()voidLoads the Discord Webhook Payload from the config filevoidSends a Discord Webhook Messagevoid
-
Method Details
-
getInstance
-
init
public void init() -
setURL
-
loadPayload
public void loadPayload()Loads the Discord Webhook Payload from the config file -
getURL
-
getPayload
-
sendWebhookMessage
Sends a Discord Webhook Message- Parameters:
type- the type of treasure eventt- the treasure object
-