Skip to content

Added /audit button to reports (moderation)#1499

Open
modwodmm wants to merge 2 commits into
Together-Java:developfrom
modwodmm:develop
Open

Added /audit button to reports (moderation)#1499
modwodmm wants to merge 2 commits into
Together-Java:developfrom
modwodmm:develop

Conversation

@modwodmm

Copy link
Copy Markdown

Adds a button that lets the moderator that clicked it see the audit log of the reported user.
Resolves #1498

@modwodmm modwodmm requested a review from a team as a code owner June 10, 2026 17:15
@Zabuzard

Copy link
Copy Markdown
Member

Please add screenshots of the feature and all edge cases in action, makes reviewing it muuuch easier...^^

@Zabuzard Zabuzard changed the title Button to view reported user's previous warns, mutes and punishments Added /audit button to reports (moderation) Jun 11, 2026
@Zabuzard Zabuzard added enhancement New feature or request priority: normal labels Jun 11, 2026
MessageUtils.abbreviate(historyContent, MessageEmbed.DESCRIPTION_MAX_LENGTH));
}

event.replyEmbeds(embedBuilder.build()).setEphemeral(true).queue();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a particular reason you went for a single embed instead of the style from /audit?
imo what you did there looks worse in terms of UI. and it abbreviating instead of offering proper next/prev buttons (like /audit) means people still have to use /audit if they want full history.
(but okay, maybe thats not needed as this is meant as a quick-overview instead)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is for a quick look at the recent actions against the reported user but if you want I can do the other one too.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally i prefer embeds over text, the ui in discord is just superior that way. but imo this is best to be decided by the team. maybe share a screenshot in the discord channel and ask for feedback on that part

@modwodmm

Copy link
Copy Markdown
Author

Made some changes as you asked.
Screenshot 2026-06-11 135601
Screenshot 2026-06-11 140912
Screenshot 2026-06-11 141350

@Zabuzard

Copy link
Copy Markdown
Member

(please dont resolve comments urself, let the author of the comment do it as confirmation that they consider it done, thanks)

@modwodmm

modwodmm commented Jun 11, 2026

Copy link
Copy Markdown
Author

sorry I'm kinda new to this pr stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modmail: Include button on a report to display member's audit log

2 participants