Class DiscordHandler

java.lang.Object
id.luckynetwork.lyrams.lyralibs.core.discord.DiscordHandler

public class DiscordHandler extends Object
  • Constructor Details

    • DiscordHandler

      public DiscordHandler()
  • Method Details

    • sendWebhook

      public void sendWebhook(String url, String title, List<String> description, String color)
      It sends a webhook to the specified URL with the specified title, description, and color
      Parameters:
      url - The webhook url
      title - The title of the embed
      description - This is a list of strings that will be sent to the webhook.
      color - The color of the embed.