Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 6, 2025
1 parent 6bdf830 commit bce9281
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import javax.annotation.Nonnull;
import java.awt.*;

@SuppressWarnings("unused")
public interface EmbeddedMessage {

/**
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/minevalley/core/api/discord/Webhook.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* This Webhook-builder is meant to help you to create discord-webhooks.
* You can find helpful information <a href="https://birdie0.github.io/discord-webhooks-guide/discord_webhook.html">here</a>.
*/
@SuppressWarnings("unused")
public interface Webhook {

/**
Expand All @@ -20,7 +21,7 @@ public interface Webhook {
*/
@Nonnull
@Contract("_ -> this")
Webhook setUsername(@Nonnull String username);
Webhook setUsername(@Nonnull String username) throws IllegalArgumentException;

/**
* Sets the avatar of the webhook.
Expand Down

0 comments on commit bce9281

Please sign in to comment.