Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #243 from book000/fix/bug-mention
Browse files Browse the repository at this point in the history
fix: 不具合リアクション時にdev面子にメンションするように
  • Loading branch information
book000 authored Apr 1, 2022
2 parents bb9b41a + 0ea4f11 commit ecb2933
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,13 @@ public void onMessageReactionAdd(@NotNull MessageReactionAddEvent event) {
messages.add("");
}
messages.add(":bug: リアクションにより、不具合の報告がなされました。");
messages.add("投稿者、または報告者は不具合内容についての説明(何が不具合と思ったのか、期待される動作など)をお願いします。");
messages.add("");
messages.add(mainMessage);
if (responseType == JavajaotanLibrary.IssueResponseType.SUCCESS) {
messages.add("Issue: https://github.com/jaoafa/jao-Minecraft-Server/issues/" + issueNumber);
}
messages.add("<@959313488113717298>");

String threadTitle = (responseType == JavajaotanLibrary.IssueResponseType.SUCCESS ? "*" + issueNumber + " " : "") + title;
ThreadChannel thread = developmentChannel.createThreadChannel(threadTitle).complete();
Expand Down

0 comments on commit ecb2933

Please sign in to comment.