Fix: audit message being empty for attachment-only scam posts (#1300) by JankiGadhiya · Pull Request #1325 · Together-Java/TJ-Bot

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@JankiGadhiya

Copy link

Contributor

Fixed #1300

@JankiGadhiya JankiGadhiya requested a review from a team as a code owner

September 12, 2025 08:10

@CLAassistant

Copy link

CLAassistant commented

Sep 12, 2025

edited

Loading

CLA assistant check
All committers have signed the CLA.

@Zabuzard Zabuzard added the enhancement

New feature or request

label

Sep 15, 2025

@Zabuzard

Copy link

Member

Looks good so far :) Id like to see a screenshot of it in Discord, maybe we want a few minor tweaks on the text then.
Ill check it out locally and do the local testing myself if you have not setup your testing-bot yet 👍

@Zabuzard

Copy link

Member

license/cla was signed (probably with wrong account but its fine)

@Zabuzard

Copy link

Member

I did some smaller improvements to the code while doing the local testing right away:

  • gradle:spotlessApply to get rid of formatting issues
  • replaced text building by "...".formatted(...), more readable
  • changed the text from and x attachments: (...) to (The message has x attachments: ...)
JankiGadhiya reacted with thumbs up emoji

@Zabuzard

Copy link

Member

Local testing:

No text

empty message

No attachments

no attachment

Both

both

JankiGadhiya reacted with hooray emoji

@Zabuzard Zabuzard merged commit 511c485 into Together-Java:develop

Sep 15, 2025

8 of 9 checks passed

@Zabuzard Zabuzard mentioned this pull request

Sep 17, 2025

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

Reviewers

@Zabuzard Zabuzard Zabuzard approved these changes

Labels

enhancement

New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Audit message for attachment-scam is empty

3 participants

@JankiGadhiya @CLAassistant @Zabuzard