Feat/help thread stats by ankitsmt211 · Pull Request #1361 · Together-Java/TJ-Bot
and others added 3 commits
August 29, 2024 15:29spotless fixes, helper for calculating duration in seconds between datetime fields to be more compliant with code quality tests
…/HelpThreadStatsCommand.java use a more simpler way to get days and a fallback if user entered option is missing Co-authored-by: Connor Schweighöfer <squidxtv@gmail.com>
since when saving thread meta data, participant count excludes author which means thread with 0 participants should be counted as ghost threads instead of single participant
uses Duration instance for expiration of cache items instead of seperate values for ease of maintenance and clarity
utf code with actual emojis for clarity, break onSlash handler into more helpers update helpthreadlistener to only store true participant count in database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters