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 DiscordWebhook
getURL()
void
init()
void
Loads the Discord Webhook Payload from the config filevoid
Sends 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
-