Skip to content

Commit d4ffc67

Browse files
committed
revert: help-category
1 parent 4dfd331 commit d4ffc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private void changeCategory(SlashCommandInteractionEvent event, ThreadChannel he
162162
event.deferReply().queue();
163163
refreshCooldownFor(Subcommand.CHANGE_CATEGORY, helpThread);
164164

165-
metrics.count(COMMAND_NAME, Map.of(CHANGE_CATEGORY_SUBCOMMAND, category));
165+
metrics.count("help-category", Map.of(CHANGE_CATEGORY_SUBCOMMAND, category));
166166
helper.changeChannelCategory(helpThread, category)
167167
.flatMap(_ -> sendCategoryChangedMessage(helpThread.getGuild(), event.getHook(),
168168
helpThread, category))

0 commit comments

Comments
 (0)