Class DiscordWebhook
java.lang.Object
id.luckynetwork.lyrams.lyralibs.core.discord.DiscordWebhook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmbed(EmbedObject embed) voidexecute()It takes the data you've set and sends it to the webhook URL
-
Constructor Details
-
DiscordWebhook
Constructs a new DiscordWebhook instance- Parameters:
url- The webhook URL obtained in Discord
-
-
Method Details
-
addEmbed
-
execute
It takes the data you've set and sends it to the webhook URL- Throws:
Exception
-