Skip to content

Commit 79a54c8

Browse files
committed
fix checkstyle error
1 parent 2ad7e59 commit 79a54c8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main/java/net/javadiscord/javabot/systems/help/commands/CloseCommand.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
*/
1010
public class CloseCommand extends UnreserveCommand {
1111

12-
/**
13-
* The constructor of this class, which sets the corresponding
14-
* {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}.
15-
*/
16-
public CloseCommand() {
17-
setSlashCommandData(
18-
Commands.slash("close", "Unreserves this help channel so that others can use it.")
19-
.setGuildOnly(true).addOption(OptionType.STRING, "reason",
20-
"The reason why you're unreserving this channel", false));
21-
}
12+
/**
13+
* The constructor of this class, which sets the corresponding
14+
* {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}.
15+
*/
16+
public CloseCommand() {
17+
setSlashCommandData(
18+
Commands.slash("close", "Unreserves this help channel so that others can use it.")
19+
.setGuildOnly(true).addOption(OptionType.STRING, "reason",
20+
"The reason why you're unreserving this channel", false));
21+
}
2222
}

0 commit comments

Comments
 (0)