Skip to content

Commit

Permalink
Turned back on pings
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaniissou committed Sep 12, 2024
1 parent 7b8a5f7 commit 068f470
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/example/AnnonceCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ public void onSlashCommandInteraction(SlashCommandInteractionEvent event) {

StringBuilder sb = new StringBuilder();

//Main.ROLES_TO_PING.forEach(roleid -> sb.append(event.getGuild().getRoleById(roleid).getAsMention()));
sb.append("Hello");
Main.ROLES_TO_PING.forEach(roleid -> sb.append(event.getGuild().getRoleById(roleid).getAsMention()));
channel.sendMessage(sb.toString()).queue();
channel.sendMessageEmbeds(embed.build()).complete().addReaction(Emoji.fromUnicode("\u2705")).queue();
channel.sendMessage("*Cette partie nécessite que vous soyez link* (</link:1282489633724305461>)").queue();
Expand Down

0 comments on commit 068f470

Please sign in to comment.