Skip to content

Commit b0bba15

Browse files
committed
chore: sonar
1 parent 8a737ed commit b0bba15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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("category", category));
165+
metrics.count(COMMAND_NAME, 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)