Skip to content

GitHub Reference feature is in wrong package #1019 #1040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import net.dv8tion.jda.api.JDA;

import org.togetherjava.tjbot.commands.github.GitHubCommand;
import org.togetherjava.tjbot.commands.github.GitHubReference;
import org.togetherjava.tjbot.config.Config;
import org.togetherjava.tjbot.config.FeatureBlacklist;
import org.togetherjava.tjbot.config.FeatureBlacklistConfig;
Expand All @@ -23,6 +21,8 @@
import org.togetherjava.tjbot.features.code.CodeMessageHandler;
import org.togetherjava.tjbot.features.code.CodeMessageManualDetection;
import org.togetherjava.tjbot.features.filesharing.FileSharingMessageListener;
import org.togetherjava.tjbot.features.github.GitHubCommand;
import org.togetherjava.tjbot.features.github.GitHubReference;
import org.togetherjava.tjbot.features.help.*;
import org.togetherjava.tjbot.features.jshell.JShellCommand;
import org.togetherjava.tjbot.features.jshell.JShellEval;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.togetherjava.tjbot.commands.github;
package org.togetherjava.tjbot.features.github;

import net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.togetherjava.tjbot.commands.github;
package org.togetherjava.tjbot.features.github;

import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Message;
Expand Down Expand Up @@ -35,8 +35,8 @@
* the bot replies with an embed that contains info on the issue/PR.
*/
public final class GitHubReference extends MessageReceiverAdapter {
static final String ID_GROUP = "id";
private static final Logger logger = LoggerFactory.getLogger(GitHubReference.class);
static final String ID_GROUP = "id";

/**
* The pattern(#123) used to determine whether a message is referencing an issue.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
package org.togetherjava.tjbot.commands.github;
package org.togetherjava.tjbot.features.github;

import org.togetherjava.tjbot.annotations.MethodsReturnNonnullByDefault;

Expand Down