github automuteus/automuteus 5.0.0

latest releases: 6.16.10, 6.16.9, 6.16.8...
3 years ago

⚠️ Version 5 introduces breaking changes from v4 and prior. ⚠️
⚠️ Refer to the docker-compose.yml and sample.env files to make sure you understand the changes before upgrading ⚠️

New Features:

  • Galactus is now responsible for issuing all mutes/deafens. This allows greater decoupling of the muting behavior from the core bot functionality; Galactus can use a variety of methods to distribute mute/deafen requests to the Discord API.
  • Game events, user game history, and various guild data is/are now stored in Postgres. This can be used to glean interesting statistics and player rankings. This will be enriched with win data from the capture soon, to allow for win/loss rankings.
  • WORKER_BOT_TOKENS has been added. This is a comma-delimited list of Bot Tokens that should be sent to Galactus so it can use them for mute/deafen.
  • Galactus/bot now can issue mute/deafen requests to amonguscapture clients that are running an integrated discord bot. This is supported in version 2.5.0 of amonguscapture
  • AutoMuteUs now preserves the status message from a game that has ended with a concise "summary" of players at the game's end. This message will continue to be improved and expanded in future releases, and will likely be toggled via bot settings.
  • AutoMuteUs now exposes a Prometheus metrics server on port 2112.
  • Exposing of some limited functionality for supporters/donators. This functionality will be improved and expanded in future releases.

Removed:

  • The applyNicknames setting has been removed. This feature was far too fickle for general use, and actually consumed more API requests, all while significantly complicating the flow and state of user data. Happy to accept contributions to revitalize it, but I cannot expend the effort to maintain it.
  • The defaultTrackedChannel setting has been removed. The ability to run multiple games in 1 server makes this feature unstable at best, and actively confusing and troublesome at worst.

Fixes:

  • AutoMuteUs now respects the "10k in 10 mins" Global bot rate limit.
  • AutoMuteUs will now lock the total number of active games to <150 to prevent performance degradation in current games due to 10k rate limiting.
  • AutoMuteUs will now warn, and additionally tempban/tempignore users that spam commands or reactions.

Breaking Changes:

  • DISCORD_BOT_TOKEN_2 is being deprecated in favor of WORKER_BOT_TOKENS. The variable is still supported in this release, but will be removed entirely in v6.

Changelog

266f66a Merge pull request #269 from denverquane/galactus-integration
f4af855 Enforce v12 of Postgres to be safe
d993ad3 Adjusted emojis
d661033 Added settings reset argument
c845932 Fix docker-compose.yml/sample.env, postgres non-concurrent index add
e1ae259 Added WORKER_BOT_TOKENS var, updated docs/logging/galactus version
8f0f5b3 Upgrade Galactus version
e353b66 Added initial premium command and output
8a56b9a Update files to be translated
9ee0dbe Preliminary stats command for a user
8b94bbf Added indexes for postgres for optimal querying
31742d0 Misc rewording, hooked up sm/fm to Postgres, premium server info
40057fa Added token lockout
a7064dc Ratelimit won't immediately kill program; let prom/k8s handle it
a15ffad Added final formatting for gameover status
7d9191c Added game events saving and better filtering for postgres
2904c36 Game timeouts appropriately, updates active game count, preserves old match messages
d71b93f Added user softbans for spamming
6480d91 Removed scaleway code, added user ratelimits, better metrics recording
26c1c9f Better hotfix
7075353 Hotfix null pointer deref
2f6dca1 Adds TOKEN_2 to galactus on startup; removes from bot entirely
31b9d1c removed invalid useradd and groupadd for old variants
b396b89 Added postgres game dump, updated docker-compose, updated readme
6d7f02a Removed nickname functionality, added Galactus endpoint check
fac62a8 Merge branch 'master' into galactus-integration
fb1a84c Merge remote-tracking branch 'origin/prometheus-merge' into galactus-integration
78deb87 Merge remote-tracking branch 'origin/prometheus-merge' into galactus-integration
7d27eec Merge remote-tracking branch 'origin/prometheus-merge' into galactus-integration
162fd02 Merge remote-tracking branch 'origin/prometheus-merge' into galactus-integration
ba19573 Merged prometheus refactor
2b64324 Merge remote-tracking branch 'origin/prometheus-merge' into galactus-integration
0d621d3 Adds refactor to issue all mutes/deafens using Galactus
1c78c01 Added initial cut at Postgres schema and table design
930e0e1 Removed all metric from prom
3e4b793 Added/collapsed Prom. metrics
91f10eb Enabled Prometheus metrics for API request tally

Don't miss a new automuteus release

NewReleases is sending notifications on new releases.