Skip to content

Commit

Permalink
Add tags to doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldmensch committed Dec 25, 2024
1 parent e952ef2 commit 90ab55e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,24 @@
<link>https://javadoc.io/doc/net.dv8tion/JDA/5.0.2</link>
</links>
<docfilessubdirs>true</docfilessubdirs>

<tags>
<tag>
<name>apiNote</name>
<placement>a</placement>
<head>API Note</head>
</tag>
<tag>
<name>implSpec</name>
<placement>a</placement>
<head>Implementation Requirements</head>
</tag>
<tag>
<name>implNote</name>
<placement>a</placement>
<head>Implementation Note</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public record InvocationContext<T extends GenericInteractionCreateEvent>(
) {
/// Stops further execution of this invocation at the next suitable moment.
///
/// @implNote This will interrupt the current event thread
/// @param errorMessage the error message that should be sent to the user as a reply
/// @implNote This will interrupt the current event thread
public void cancel(MessageCreateData errorMessage) {
new MessageReply(event, definition, new ReplyConfig()).reply(errorMessage);

Expand Down

0 comments on commit 90ab55e

Please # to comment.