Class DiscordWebhookClient

java.lang.Object
me.tayebyassine.homestead.discord.DiscordWebhookClient

public class DiscordWebhookClient extends Object
  • Constructor Details

    • DiscordWebhookClient

      public DiscordWebhookClient(String url)
  • Method Details

    • sendContent

      public void sendContent(@NotNull @NotNull String message, Object... data) throws Exception
      Throws:
      Exception
    • sendContent

      public void sendContent(@NotNull @NotNull String message) throws Exception
      Throws:
      Exception
    • getEventEnabled

      public boolean getEventEnabled(String eventName)
    • getEventMessage

      public String getEventMessage(String eventName)
    • callEventDiscordWebhook

      public void callEventDiscordWebhook(APIEvent event)