Skip to content

Commit 21b9198

Browse files
committed
remove unused field
1 parent ea65a97 commit 21b9198

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/net/javadiscord/javabot/systems/qotw/commands/view/QOTWViewCommand.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
* It allows to view previous QOTWs and their answers.
1313
*/
1414
public class QOTWViewCommand extends SlashCommand {
15-
private final DbHelper dbHelper;
16-
1715
/**
1816
* This classes constructor which sets the {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData} and
1917
* adds the corresponding {@link net.dv8tion.jda.api.interactions.commands.Command.SubcommandGroup}s.
@@ -22,7 +20,6 @@ public class QOTWViewCommand extends SlashCommand {
2220
* @param dbActions A utility object providing various operations on the main database
2321
*/
2422
public QOTWViewCommand(BotConfig botConfig, DbHelper dbHelper, DbActions dbActions) {
25-
this.dbHelper = dbHelper;
2623
setSlashCommandData(Commands.slash("qotw-view", "Query 'Questions of the Week' and their answers")
2724
.setDefaultPermissions(DefaultMemberPermissions.ENABLED)
2825
.setGuildOnly(true)

0 commit comments

Comments
 (0)