Skip to content

Commit ac6b099

Browse files
committed
feat: add user to /tag
1 parent 223d895 commit ac6b099

File tree

1 file changed

+1
-1
lines changed
  • application/src/main/java/org/togetherjava/tjbot/features/tags

1 file changed

+1
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/tags/TagCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void onSlashCommand(SlashCommandInteractionEvent event) {
9292
if (tagSystem.handleIsUnknownTag(id, event)) {
9393
return;
9494
}
95-
metrics.count("tag", Map.of("id", id));
95+
metrics.count("tag", Map.of("id", id, "user", event.getUser().getName()));
9696

9797
String tagContent = tagSystem.getTag(id).orElseThrow();
9898
MessageEmbed contentEmbed = new EmbedBuilder().setDescription(tagContent)

0 commit comments

Comments
 (0)