TJ-Bot
TJ-Bot copied to clipboard
TJ-Bot is a Discord Bot used on the Together Java server. It is maintained by the community, anyone can contribute.
Closes #548. Similar to #541, this adds an annotation `@MethodsReturnNonnullByDefault` to all packages. Effectively making `@Nonnull` completely obsolete in our code base - hence also removing it everywhere. The annotation...
Close #484 Added `BlacklistedAttachmentListener` which delete any blacklisted file attachment. The listener sent a dm to the user and informs the Mods. ## Scenario message with blacklisted file extension: ###...
Commands which redirects command called from Guild or Dm to a dedicated channel in Config#getModAuditLogChannelPattern() Samples of message being public (can be seen which user called the command) `/modmail message:test...
If a user wants to report something they can do `/report @user-to-report reason`. Then the mods can check it and then they will decide if they should take further cation....
Similar to #541 , we should take the next step and make our methods also return `@Nonnull` by default. Fortunately, this is fairly simple with a custom annotation: ```java @Nonnull...
**Context** Educational channels are channel where only images, videos, etc are supposed to be posted, and to discuss them, a thread is supposed to be created to not flood the...
Sometimes new users create a help thread and then dont post any details in it. In such a situation, the bot should (after some waiting time, maybe 5 minutes) post...
The bot should react to any message with attached media and check if it ends on a blacklisted file extension (such as `.exe`). Such posts should then be deleted and...
Sometimes new users create a help thread and then dont select any category at all. In such a situation, the bot should (after some waiting time, maybe 5 minutes) post...
The bot should automatically pin the first message in help threads, this is usually the OPs question, or directly next to it. Makes it easier for people to navigate in...