Skip to content

Commit

Permalink
add javadoc to team
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 10, 2025
1 parent bffb013 commit d395cb1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/java/minevalley/core/api/team/Team.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@
@SuppressWarnings("unused")
public interface Team extends MessageReceiver {

/**
* Send a message to the team chat.
*
* @param message The message to send.
* @throws IllegalArgumentException If the message is null.
*/
void sendTeamChatMessage(@Nonnull String message) throws IllegalArgumentException;

/**
* Send a message to the team chat.
*
* @param message The message to send.
* @param instruction The instruction to send.
* @throws IllegalArgumentException If the message or instruction is null.
*/
void sendTeamChatMessage(@Nonnull String message, @Nonnull Instruction instruction) throws IllegalArgumentException;
}

0 comments on commit d395cb1

Please sign in to comment.