Added /audit button to reports (moderation)#1499
Conversation
|
Please add screenshots of the feature and all edge cases in action, makes reviewing it muuuch easier...^^ |
| MessageUtils.abbreviate(historyContent, MessageEmbed.DESCRIPTION_MAX_LENGTH)); | ||
| } | ||
|
|
||
| event.replyEmbeds(embedBuilder.build()).setEphemeral(true).queue(); |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
|
(please dont resolve comments urself, let the author of the comment do it as confirmation that they consider it done, thanks) |
|
sorry I'm kinda new to this pr stuff |



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