Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Together-Java/TJ-Bot
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c8003e7
Choose a base ref
...
head repository: Together-Java/TJ-Bot
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7063695
Choose a head ref
  • 4 commits
  • 10 files changed
  • 5 contributors

Commits on Jan 23, 2026

  1. feat(DynamicVoiceChat): implement main logic (#1370)

    * feat(DynamicVoiceChat): implement main logic
    
    Co-authored-by: Suraj Kumar <[email protected]>
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * DynamicVoiceChat.java: use trace instead of info
    
    Using 'Logger#info' is too spammy in the console, use 'Logger#trace'
    instead.
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * DynamicVoiceChat.java: more trace instead of info
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * Make class final and add JavaDoc
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * Archive instead of simply deleting voice channels
    
    Currently there is no way to moderate ephemeral voice channels. Members
    could very easily break the rules in the channel, send NSFW content and
    it can go undetected by the moderation team.
    
    Introduce a new archival system where the ephemeral voice channels are
    instead stored in an archival category.
    
    Depending on the archival strategy, channels are removed once they are
    not needed any more.
    
    Routines are not being used since we are able to get away with
    attempting cleanup every time a user leaves an ephemeral voice channel.
    
    This results in superior performance and no scheduling involved.
    
    Do _not_ archive ephemeral voice channels with no contents sent by
    members.
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * Use proper constant values
    
    This is why breaks are important, I committed my previous changes while
    being hungry...
    
    Set realistic constant values for CLEAN_CHANNELS_AMOUNT and
    MINIMUM_CHANNELS_AMOUNT so that more channels are kept in the archive.
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * DynamicVoiceChat.java: Remove defensive comment
    
    The constant name is self-documenting.  If someone wants to make it as
    well as other constants in this class configurable later, they can
    submit a pull request with _actual reasoning_ instead of bikeshedding
    over a defensive comment.
    
    The constant is hardcoded because it's _unlikely_ anyone will want to
    change it.  If that assumption proves wrong, it's trivial to refactor.
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * Make the already existing constants configurable from config.json
    
    For the purposes of speeding up the process of reviews and since it really
    doesn't matter if they are configurable or not (just extra unnecessary
    development time), move all the constants into the config.json so that
    users who run the bot can easily configure these constants without
    touching the code.
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    ---------
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    Co-authored-by: Suraj Kumar <[email protected]>
    christolis and surajkumar authored Jan 23, 2026
    Configuration menu
    Copy the full SHA
    a741f6f View commit details
    Browse the repository at this point in the history
  2. Hotfix: Don't care about reactions in the Quotes Board itself (#1384)

    * QuoteBoardForwarder.java: don't care about reactions in the board itself
    
    Great, we recently made a quotes board, and if a message gets 5 stars,
    then it's added to the quotes board.  What happens if someone reacts from
    _within_ the quotes board itself?
    
    Add an additional condition so that message reaction additions are not
    counted within this feature if the reaction is in the quotes board itself.
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    
    * nit(QuoteBoardForwarder): use Optional#orElseThrow for boardChannel
    
    ---------
    
    Signed-off-by: Chris Sdogkos <[email protected]>
    christolis authored Jan 23, 2026
    Configuration menu
    Copy the full SHA
    b43b331 View commit details
    Browse the repository at this point in the history
  3. doc: add javadocs and package-info.java (#1386)

    Co-authored-by: Suraj Kumar <[email protected]>
    tj-wazei and surajkumar authored Jan 23, 2026
    Configuration menu
    Copy the full SHA
    9f4786b View commit details
    Browse the repository at this point in the history
  4. doc: update ssh config file vps (#1385)

    moved away from togetherjava.duckdns.org to
    togetherjava.org
    ankitsmt211 authored Jan 23, 2026
    Configuration menu
    Copy the full SHA
    7063695 View commit details
    Browse the repository at this point in the history
Loading