Skip to content

Commit f176d3d

Browse files
Added JDA Discord notice
1 parent 0a588c2 commit f176d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/javadiscord/javabot/systems/help/HelpListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class HelpListener extends ListenerAdapter implements ButtonHandler {
6060

6161
@Override
6262
public void onMessageReceived(@NotNull MessageReceivedEvent event) {
63-
// listen for the posts initial message. Why this has to be done is further described in
63+
// listen for the posts initial message. Why this has to be done is further described in the JDA Discord:
6464
// https://canary.discord.com/channels/125227483518861312/1053705384466059354/1053705384466059354
6565
if (newThreadChannels.contains(event.getChannel().getIdLong())) {
6666
HelpConfig config = botConfig.get(event.getGuild()).getHelpConfig();
@@ -104,7 +104,7 @@ public void onChannelCreate(@NotNull ChannelCreateEvent event) {
104104
return;
105105
}
106106
// add thread id to a temporary cache to avoid potential missing author message
107-
// more info on why this has to be done: https://canary.discord.com/channels/125227483518861312/1053705384466059354/1053705384466059354
107+
// more info on why this has to be done: https://canary.discord.com/channels/125227483518861312/1053705384466059354/1053705384466059354 (JDA Discord)
108108
newThreadChannels.add(event.getChannel().getIdLong());
109109
}
110110

0 commit comments

Comments
 (0)