Skip to content

v4.1.2

Updated

  • Docker image to run with forever
  • Buildkite pipeline to build Docker image

v4.1.1

Updated

  • Activity registerer to not attempt to assign the active role to members who already have it

Fixed

  • Setup returning an error after completion if inactive role disabled
  • Logs not always including guildId and memberId (where relevant)

v4.1.0

Added

  • Measures to reduce processing and API calls for incorrectly configured role hierarchies
    • If the bot is lacking permissions to manage the active or inactive roles, members will not be processed
  • Warnings after setup if either the active or inactive role are not manageable by the bot
  • Logging of Discord API error code when failing to mark users active or inactive
  • Configuration option for the culling interval used to process inactive members
  • Unit tests for activity/inactivity rules
Assets 2

@benji7425 benji7425 released this Jul 21, 2019 · 31 commits to master since this release

v4.0.1

Fixed

  • No event log when member marked active

Updated

v4.0.0

Version 4.0 is a complete re-write of the bot using TypeScript and built on top of my disharmony library.
This changelog entry does not assume knowledge of v3.5 or prior, and so list additions as if this is a new project.

Added

  • Integration with disharmony
  • Command setup to configure parameters for the current server
  • Command view-config to view current server configuration
  • Addition of 'active' role to member when message or voice activity detected
  • Removal of 'active' role from member after no activity detected for configured duration
  • Optional addition of 'inactive' role when 'active' role removed
  • Configurable option to ignore certain users/roles
  • Audit log reason messages when roles are added/removed
  • Event logging for some key events
Assets 2

@benji7425 benji7425 released this Mar 27, 2018 · 92 commits to master since this release

Please see the v3.5.0 hosting guidelines here, as the steps differ from the current master version.

Updated

  • Updated user activity checking
    • Remove "shotgun" effect of every guild being checked once a day
    • Iterate over the guilds to do one at a time (currently every 30 sec)

Fixed

  • Fix some spelling mistakes
Assets 2

@benji7425 benji7425 released this Feb 10, 2018 · 92 commits to master since this release

v3.4.1

Fixed

  • Fixed off-by-one error causing first ignored user to not actually be ignored

v3.4.0

Added

  • Optional 'inactive' role to assign to users when they lose the active role
    • If you already have the bot setup you can enable this feature by re-running setup - don't worry, your data won't be lost!
    • 'Inactive' role will be removed when the user regains the 'active' role
  • 'Stats' command to view some interesting info about the bot

Fixed

  • Fixed anyone being able to run the guild reset command!
Assets 2

@benji7425 benji7425 released this Feb 8, 2018 · 92 commits to master since this release

Added

  • Added voice join detection counting a user as 'active'
  • Reset command to reset data for the server
  • MongoDB compatibility
Assets 2

@benji7425 benji7425 released this Jan 3, 2018 · 92 commits to master since this release

Updated

  • Updated data storage to use a NeDB database rather than a json file

Fixed

  • Fixed memory leak due to unconfigured discord.js caching

Hosting your own instance?

If you are hosting your own instance it is worth noting that this release comes with some rather significant changes. Data is no longer stored in the guilds.json file, instead now using NeDB as a local database. Your guilds.json file should be automatically converted when you first start up, but I strongly suggest you backup your guilds.json file first just in case anything goes wrong.

In addition, token.json will require a small update from this:
{ "token": "tokenhere" }
to just this:
"tokenhere"

Feel free to contact me via my Discord server if you need help. You can find the invite on my website

Assets 2

@benji7425 benji7425 released this Nov 20, 2017 · 92 commits to master since this release

v3.1.4

Added

  • Some additional debug.log logging to help with identifying errors

Fixed

  • Fixed re-introcuded crash when bot recives a PM

v3.1.3

Added

  • Removal of data when the bot is kicked from a guild
  • Added --name indicator to launch command to make it easier to identify process in htop

Updated

  • Route a lot of mostly irrelevant cnosole spam to a file instead of the console
  • Updated launch command to pass max-old-space-size parameter to limit memory usage

v3.1.2

Added

  • Extra console log message to try be a bit more helpful diagnosing errors

Fixed

  • Fixed error caused by discord reporting undefined members (I think?)
  • Fix messages without valid members taking the bot offline

v3.1.1

Fixed

  • Fixed excess details being printed to console at permission exceptions

v3.1.0

Added

  • Added Discord.js debug messages being printed to console

Updated

  • Updated to more stable bootstrapping and connection code
Assets 2

@benji7425 benji7425 released this Sep 18, 2017 · 92 commits to master since this release

Added

  • Fancy new @bot help command

Updated

  • Updated error handling for Discord API errors
  • Updated bootstrapping and command handling to use shared subrepo
  • Significant back-end command handling updates
Assets 2

@benji7425 benji7425 released this Aug 24, 2017 · 92 commits to master since this release

v2.2.1

Added

  • Added ability to pass in configuration object on startup

v2.2.0

Added

  • Automatic tracking of people who have the role, even if it wasn't the bot who assigned it to them
  • Ability to make entire roles exempt from being marked/unmarked as active
  • @Activity_Monitor view-config command to view guild settings

Updated

  • Setup
    • Now started with @Activity_Montitor setup
    • Now warns you if you respond with invalid answers
Assets 2

@benji7425 benji7425 released this Aug 9, 2017 · 92 commits to master since this release

v2.1.3

Fixed

  • Fix seemingly random crashes during message detection

v2.1.2

Added

  • "Playing" indicator with my website url

v2.1.1

Fixed

  • Fixed issue where data being present for a user who had left the respective guild caused an exception, stopping other users from being processed

v2.1.0

Updated

  • Refactored a bunch of code for stability improvements

Fixed

  • Fixed some issues with setup not running properly
Assets 2
You can’t perform that action at this time.