Skip to content

Commit d9a5767

Browse files
Merge pull request #384 from danthe1st/fix-close-messages
fixes close/unreserve command description
2 parents 5340c80 + 50623bb commit d9a5767

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class CloseCommand extends UnreserveCommand {
2525
public CloseCommand(BotConfig botConfig, DbActions dbActions, HelpTransactionRepository helpTransactionRepository, HelpAccountRepository helpAccountRepository) {
2626
super(botConfig, dbActions, helpTransactionRepository, helpAccountRepository);
2727
setCommandData(
28-
Commands.slash("close", "Unreserves this help channel so that others can use it.")
28+
Commands.slash("close", "Unreserves this post marking your question/issue as resolved.")
2929
.setGuildOnly(true).addOption(OptionType.STRING, "reason",
3030
"The reason why you're unreserving this channel", false));
3131
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public UnreserveCommand(BotConfig botConfig, DbActions dbActions, HelpTransactio
3838
this.dbActions = dbActions;
3939
this.helpAccountRepository = helpAccountRepository;
4040
this.helpTransactionRepository = helpTransactionRepository;
41-
setCommandData(Commands.slash("unreserve", "Unreserves this help channel so that others can use it.")
41+
setCommandData(Commands.slash("unreserve", "Unreserves this post marking your question/issue as resolved.")
4242
.setGuildOnly(true)
4343
.addOption(OptionType.STRING, "reason", "The reason why you're unreserving this channel", false)
4444
);

0 commit comments

Comments
 (0)