Skip to content

Commit

Permalink
update announcements when a comment is added
Browse files Browse the repository at this point in the history
  • Loading branch information
the-codeboy committed Jun 20, 2024
1 parent 0842114 commit 7fa6235
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ private void openRatingModal(SelectMenuInteractionEvent event, String meal) {
String comment = e.getValue("comment").getAsString();
CommentManager.getInstance().addComment(meal, comment, e.getUser());
e.getHook().sendMessageEmbeds(new EmbedBuilder().setTitle("Added comment").setDescription(comment).build()).queue();
RateCommand.updateAllGuildAnnouncements();
return true;
});

Expand Down

0 comments on commit 7fa6235

Please sign in to comment.