File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/main/java/net/javadiscord/javabot/systems/qotw/commands/view Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 1212 * It allows to view previous QOTWs and their answers.
1313 */
1414public 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 )
You can’t perform that action at this time.
0 commit comments