Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Latest commit

 

History

History
1116 lines (667 loc) · 65.6 KB

CHANGELOG.md

File metadata and controls

1116 lines (667 loc) · 65.6 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

6.0.0 (2024-09-08)

⚠ BREAKING CHANGES

  • use modals for reporting message
  • make hook system strict
  • passive modlog
  • replace mod menu with "alert mods" feature
  • remove quote command
  • remove TTL from the Tag settings
  • remove warn, unwarn, mute and unmute
  • remove handleDM method
  • remove onPremoderateMessage hook
  • remove deprecated commands and buttons
  • remove the role manager
  • rewrite the SettingProvider

Features

  • log attachment names in delete hook (67bd516)
  • passive modlog (9233913)
  • replace mod menu with "alert mods" feature (aa066ca)
  • the mod menu will now grant timeouts (3b11be6)

Bug Fixes

  • fix the /makigas command when used in forum (bbc9faf)
  • settings migration fails on empty databases (f632ba4)

Chore

  • deps: update Actions environment (7b98463)
  • deps: update dependencies with exceptions (8261b47)
  • deps: update ESLint (6ea953e)
  • make interactions compile in strict mode (5517eb1)
  • prepare for strict mode (2d6f1ac)
  • update DiscordJS to 13-LTS and NodeJS to 20 (4ebc501)

Refactor

  • better typing for src/lib/provider (5459e95)
  • make hook system strict (ace032c)
  • make some files pass in strict mode (16e2e1b)
  • make the entire package strict (88268b6)
  • remove dead code (19d533f)
  • remove deprecated commands and buttons (9d53a94)
  • remove handleDM method (24df62b)
  • remove onPremoderateMessage hook (a9f559a)
  • remove quote command (ad7cc56)
  • remove the role manager (4a79269)
  • remove TTL from the Tag settings (dabb62f)
  • remove warn, unwarn, mute and unmute (89d9a0a)
  • rewrite the SettingProvider (1915dc1)
  • use a separate task for karma levels (62f719c)
  • use modals for reporting message (cdd3ee0)

5.0.0 (2023-10-29)

5.0.0-0 (2023-10-29)

Features

  • add bitrate command (#564) (577a8b7)
  • add looting system (5a1103f)
  • add rol for Streams (15fac9d)
  • karma: add extra karma views (9dee103)
  • loot: show loot points in the karma card (a586271)
  • replying to a message in a threadChannel should embed response (27f7305)

Bug Fixes

  • loot: defer interaction reply to prevent timeout (a854709)
  • ops: update command for deployment (3964a8b)
  • pin: messages in news_thread cannot be pinned (3b2857a)
  • roles: delete Streams role (4465638)

Refactor

  • antispam: remove antispam capabilities (1b2b167)
  • deprecate antispam capabilities (9459fe8)
  • makibotctl: remove commands for removed features (2d4f825)
  • pin: remove pinboard feature (e23c4f4)
  • remove antiflood and blessing capabilities (7abc122)
  • remove easter egg for 2022-12-28 (1127a42)
  • remove voice hooks (ec8f59d)
  • roles: remove more deprecated roles (2b1bfc9)

Chore

  • deps: remove get-urls (2d9f545)
  • deps: remove og dependencies related to links (2f27434)
  • deps: update datetoken; handle breaking changes (24a946f)
  • deps: update dependencies (dfcecaa)
  • deps: update express (f91e3a1)
  • deps: update husky (d635c05)
  • deps: update linters (8fcb15c)
  • deps: update more dependencies (8b2619b)
  • deps: update system dependencies (06bf25c)
  • deps: update testing dependencies (be22d5d)
  • fmt: update eslint and prettier, clean up (43f462f)
  • helper: remove helper support (49adce1)
  • noremind: delete snoozing capabilities (1f02ed9)
  • remove lift and lockdown commands (63c3706)
  • remove support for linkchannels and threadchannels (ac2882d)
  • test: remove tests for removed features (0597544)

4.0.2 (2022-07-14)

Bug Fixes

  • allow sharing quotes when channel is the same (9fd07dd)
  • delete: do not log bot messages (ecd3008)
  • lint: lint (4497876)

4.0.1 (2022-07-09)

Bug Fixes

  • some messageDelete come without content (b1cdd9b)

Chore

  • lint: configure deprecation rules for eslint (2d29171)

Refactor

  • create channel managers (links, threads, support) (3b46473)

4.0.0 (2022-07-03)

⚠ BREAKING CHANGES

  • Removes the old pin system and all the functions.

Features

  • add server settings command (c13dcce)

Refactor

  • rewrite pin as a context menu (48d8d87)

3.0.0 (2022-07-03)

⚠ BREAKING CHANGES

  • split context menu by type
  • handle() is no longer invoked
  • handle() is no longer invoked.

Features

  • add snooze button on thread messages (ef93d81)

Bug Fixes

  • do not quote messages sent to private channels (75fbb4e)
  • do not send to pinboard messages from private channels (3260f40)

Chore

  • deps: update standard dependencies (71e287d)

Refactor

  • split context menu by type (5418539)
  • split DM and group in button handler (32b940a)
  • split guild and DM in command handling (e17cdaf)

2.7.0 (2022-06-09)

Features

Refactor

  • do not instantiate dependencies in Makibot constructor (4b25886)

2.6.1 (2022-06-04)

Bug Fixes

  • use level for deciding whether to trigger antispam or not (d401bf8)

Refactor

  • accessor for threadchannels and linkchannels (0447b7f)
  • do not present level up on thread channels (ab90dbb)

2.6.0 (2022-05-20)

Features

  • expose threadchannels and linkchannels through RPC (6ec1993)
  • greet newly created threads (350dd12)
  • makibotctl: manage thread and linkonly channels (42c8f4a)

2.5.1 (2022-05-01)

Chore

  • deps: update JS dependencies (fb9e8e5)
  • deps: update Ruby dependencies (5d356b1)

2.5.0 (2022-04-19)

Features

  • add lockdown and lift commands (999e385)
  • makibotctl: deploy commands locally (b7e30a2)

Bug Fixes

  • deps: downgrade sqlite to 5.0.2 to address regression (f6d2bfa)
  • lift and lockdown should be privileged (aac5491)
  • makibotctl: deploy-commands local should be optional (dd4e3ad)

Chore

  • deps: bump minimist from 1.2.5 to 1.2.6 (#533) (a85ee36)
  • deps: bump nokogiri from 1.13.3 to 1.13.4 in /docs (#534) (bfe8818)
  • deps: update dependencies (7651761)
  • deps: update discord-api-types (32944fc)

2.4.0 (2022-04-15)

Features

  • add lockdown commands (830d5c1)
  • announce bans generated outside /mod ban (0cf2604)
  • log kick events if they come outside /mod kick (3aab28b)
  • properly log timeouts and untimeouts (c498956)
  • roster: detect nickname changes (d22a4fc)
  • roster: log timeouts and manual timeout evicts (5920bc4)

Bug Fixes

  • skip logging fred events (e5bc4c0)

2.3.1 (2022-03-17)

Bug Fixes

  • bounties: cannot coerce number into integer (ca98ca4)
  • deps: don't treat discord-api-types as a devDependency (2155611)

2.3.0 (2022-03-16)

Features

  • allow the /karma command to receive an user (e501812)
  • deploy commands using the bot itself (5b8b32b)

Bug Fixes

  • autoarchive deleted linkchannel and threadchannel messages (0a8700a)
  • coerce OpenGraph title into string (f3accf8)
  • recompute the karma when bounties are given (2023b30)

Chore

  • deps: update dependencies (d246336)
  • deps: update more dependencies (b8d0401)
  • remove unnecessary console.log (0eac3cd)

2.2.0 (2022-03-13)

Features

Bug Fixes

  • karma: typo in welcome message (4a9229f)

2.1.0 (2022-03-01)

Features

  • add more information onto the shardDisconnect dispatch event, and document it (#512) (095b3ca)
  • antispam: disallow linking to RT.com (3181fa1)
  • present the error code using the logger (#514) (00a33bb)

Chore

  • deps: bump nokogiri from 1.12.5 to 1.13.3 in /docs (#506) (4ead52d)
  • deps: update dependencies (9b95440)

2.0.0 (2022-02-25)

⚠ BREAKING CHANGES

  • wrap all the modlogs into a common send

Features

  • restore karma when member joins server (f03fb4e)

Bug Fixes

  • messages are not being sent to the pinboard (1e88aad)
  • mods cannot close a thread with /archivar (e17d18c)
  • roles are not being triggered when message are sent (1a69343)

Refactor

  • use promises in the SettingProvider (#502) (e9cbb9a)
  • wrap all the modlogs into a common send (d9dc509)

Chore

  • deps: bump node-fetch from 2.6.6 to 2.6.7 (#497) (d168201)

1.1.1 (2022-02-12)

Bug Fixes

  • antiflood: ignore messages that start thread (e2e58fa)

Chore

  • deps: update dependencies (2fcb15b)

1.1.0 (2022-01-30)

Features

  • linkchannel: try to get link title using Open Graph (3e8ec4d)

Chore

  • deps: bump log4js from 6.3.0 to 6.4.0 (#496) (28cbb27)
  • deps: update dependencies (3ddaf17)

1.0.0 (2022-01-17)

Features

  • add button to manage helper roles (ba66988)
  • add button to remove all roles or helpers (ebf58c0)
  • add helper manager (command) (84aa1ed)

Bug Fixes

  • antiflood: do not treat as flood the same channel (d75c222)
  • antispam: exception for VODs and clips (70284bc)
  • downgrade to get-urls 10 to fix ESM modules (5d2a438)

Chore

Refactor

  • antispam: better error messages (ead53a8)

0.39.2 (2022-01-02)

Features

  • csgo: airdrop scammers not always mention (013b7e9)
  • roles: add Archivist role (90a5fe2)

Bug Fixes

  • types: broken types after updating deps (1cba099)

Chore

0.39.1 (2021-12-21)

Features

  • antispam: block links pointing to forms.gle (3cc500d)
  • csgo: add spam link (6271cf0)
  • separate defaultMod from deleteMod (6030ae0)

Chore

  • karma: better welcome message (43c855f)

0.39.0 (2021-12-02)

Features

  • add bless subcommand to /mod (0f04f50)

Bug Fixes

  • do not crash if modevent cannot be evicted (d23365d)
  • don't crash on private modlog errors (516b996)

Refactor

  • cleanup unused cooldown properties (3e33e79)

Chore

  • deps-dev: bump discord-api-types from 0.24.0 to 0.25.2 (#482) (b2b12a3)
  • deps-dev: bump prettier from 2.4.1 to 2.5.0 (#483) (1e12186)
  • deps: update dependencies (629a61f)
  • lint: measure cyclomatic complexity (4d13e41)

0.38.1 (2021-11-28)

Bug Fixes

  • missing arrow function in interface (#477) (262e49f)
  • ops: should not deploy unless CI passes (024b8b8)

Refactor

  • migrate modlog to webhooks (d276e37)
  • remove old warning system (54f1da1)
  • remove unused autorole hook (f9bd3fc)

Chore

0.38.0 (2021-11-23)

Features

  • Added a new Discord nitro domain (#475) (aebf64b)
  • detect airdrop spammers (b5a13fd)
  • present version name when the bot runs (6eac465)

Bug Fixes

  • antispam: properly escape dots in URLs (b9bc5c0)

Chore

Refactor

  • make /roles use collectors (0b92aca)
  • new mass-requirer (#476) (776e8fe)
  • remove traces of old antiraid system (366a841)
  • reorganize and document HookManager (94b4b54)
  • rewrite /karma to use collectors (ac764e5)
  • rewrite /report menu to use collectors (baf3e91)

0.37.1 (2021-11-17)

Bug Fixes

  • mod: prevent crash on expiration if member left (b1fa498)
  • primo: reword some error messages (7eccfe1)

Chore

  • deps-dev: bump @types/node from 16.11.6 to 16.11.7 (#470) (5e90e93)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#469) (0bc1f3a)
  • deps-dev: bump @typescript-eslint/parser from 5.3.0 to 5.4.0 (#468) (d88fbdd)
  • deps-dev: bump eslint from 8.1.0 to 8.2.0 (#473) (009bb36)
  • deps-dev: bump lint-staged from 11.2.6 to 12.0.2 (#467) (72596ed)
  • deps-dev: bump sinon from 11.1.2 to 12.0.1 (#471) (40df359)
  • deps: bump big-integer from 1.6.50 to 1.6.51 (#472) (b1c6f55)
  • remove console.logs (aad9dcd)

Refactor

0.37.0 (2021-11-10)

Features

  • add commands for threads management (#466) (08a4914)
  • add hook for logging deleted messages (2486709)
  • backport commands from the serverless bot (36bc408)
  • design thread-only channels (#465) (afac477)

Bug Fixes

  • action not properly escaping variable (c41e95d)

Refactor

  • custom date tokens for mod durations (095463e)

Chore

  • deps: bump datetoken to 1.1.0 (86c93f4)

0.36.0 (2021-11-05)

Features

  • add an explanation about the karma system (0377000)
  • add button handler to see karma (73de7fa)
  • simplify release policy (6bb3a3f)

Bug Fixes

  • github actions, you never get it right the first time (e07b918)
  • plural/singular in propinas (#463) (beb0434)
  • update binary distribution paths (7f5a915)

Chore

  • deps: unpin Node.js version to 16.x (#462) (c348ead)
  • deps: update dependencies (1e5a71e)
  • doc: chat tag should point to the server (bfb751b)
  • doc: show badges in README.md (00e6ff8)
  • rebrand clank as makibot (550da2c)

Refactor

  • ops: use new GitHub Action for building Docker (c887213)
  • refactor all the actions (cd2f0ce)
  • remove old warn hook (9fe99e2)
  • remove verification process (bd8597c)
  • use new public modlog for automute (ed13e88)

0.35.1 (2021-10-26)

Bug Fixes

  • /roles should not remove roles other than server roles (7016eff)

0.35.0 (2021-10-26)

Features

  • add ctl for getting and putting KV settings (0ff1c74)
  • add role manager (1a3c420)
  • new moderation system (738f187)

Bug Fixes

  • dev: husky is not properly stopping on failure (23a0896)

Refactor

  • counters are not being used (8a145de)

0.34.1 (2021-10-22)

Features

  • allow setting the duration in /warn command (77e2e04)

Bug Fixes

  • reply messages are not receiving karma (8895067)

0.34.0 (2021-10-01)

Features

  • mod: add flooding as a moderation type (b19f040)

Chore

  • deps: update dependencies (5be77d1)
  • deps: update Node.js engine (898617f)

0.33.0 (2021-09-24)

Features

  • allow non-moderators to report messages (#446) (d4ca858)

Chore

0.32.4 (2021-09-07)

Bug Fixes

  • leaving GuildMembers are supposed to be partial (596e134)

Refactor

  • quote: simplify and test code (de6d1ee)

Chore

  • csgo: add more domains to the blocklist (0a0cff7)

0.32.3 (2021-09-04)

Bug Fixes

  • voicerole: do not trigger state changes on mute (5199248)

0.32.2 (2021-09-03)

Bug Fixes

  • voicerole: not triggers (860ac8d)

0.32.1 (2021-09-03)

Bug Fixes

  • antispam: disable accounts when they trip antispam twice (b8a1214)

0.32.0 (2021-09-03)

Features

  • antiflood: ban muted members that trigger antiflood (2cb4529)
  • antiflood: delete original message on flood (dddc9fd)

Bug Fixes

  • csgo: ban noodles again (3179d00)
  • csgo: trigger antispam on messageUpdate (7df946d)
  • hooks: interactions cause message events to fail (887e580)
  • warn: do not double unwarn unwarned people (080951d)

Refactor

Chore

  • csgo: treat everyone plus link as spam (3cefc4c)

0.31.4 (2021-09-01)

Bug Fixes

  • deps: Dependabot YAML file is invalid (b044347)

Chore

  • deps: update dependencies (september, 2021) (1febf33)
  • deps: update internal dependencies (591eaaf)

0.31.3 (2021-08-31)

Bug Fixes

  • csgo: discordapp.net is a safe domain (6e59075)

Chore

  • csgo: add more domains to the system (67c6edb)

0.31.2 (2021-08-30)

Bug Fixes

  • csgo: fix typo in message sent after antispam triggers (9c1e099)
  • prevent double warns (66d86c0)

Chore

  • build: add chore in the changelog (6cefe5d)
  • csgo: add more terms to the antispam list (cebeac2)

0.31.1 (2021-08-28)

0.31.0 (2021-08-21)

Features

  • cmd: add unwarn command (9d50a16)

0.30.0 (2021-08-21)

Features

  • add hook for hard antispam (e663b04)
  • add moderation interactive menu (27cebf2)
  • add support for context menus (3566ba8)
  • allow warns to have a custom duration (4132892)
  • antiflood: mute long time offenders (37d85d4)
  • antispam: add more links to be caught (a5afde3)

Bug Fixes

  • handle deleted messages and users in hooks (8ddcf83)

0.29.0 (2021-08-15)

Refactor

  • rewrite interactions using v9 API (27173a8)

0.28.0 (2021-08-12)

Bug Fixes

  • fails to create settings on new bots (b377222)
  • provider fails to setup on new bots (#405) (d649a95)

Refactor

0.27.4 (2021-08-05)

Bug Fixes

  • karma: only grant karma for regular messages (dc3490f)

0.27.3 (2021-08-04)

Features

  • allow disabling verification (1840116)

0.27.2 (2021-08-01)

Bug Fixes

  • wrong variable used for the bounty command (b0cf92b)

0.27.1 (2021-07-31)

Bug Fixes

  • ephemeral condition is wrong (0196e78)

0.27.0 (2021-07-31)

Features

0.26.0 (2021-07-29)

Features

  • new response embeds for hooks and interactions (#394) (828fd7f)
  • verify: display seconds until cooldown (bfe4212)

Bug Fixes

  • welcome messages are not being presented (179b996)

0.25.0 (2021-07-28)

Features

  • add a function to build message embeds (c8eeadc)
  • handle un-pinning in the pin hook (f1aa1ea)

Refactor

  • use the new message quote in pins (1982d3c)

0.24.1 (2021-07-26)

Bug Fixes

  • catch errors during command interactions (#379) (5cf03cc)

Refactor

0.24.0 (2021-07-21)

Features

0.23.0 (2021-07-13)

Features

Refactor

0.22.0 (2021-06-26)

Features

  • create a factory to run interactions (c101678)
  • delete remaining commands (e47f3bf)
  • include dsc.gg in the antispam system (8d22a33)
  • migrate !primo to /primo (2a9cb8c)
  • migrate raid command to slash command (9ecfdbb)
  • remove !helper command (4d10559)
  • replace addautorole and removeautorole with REST endpoints (9f5d9a4)
  • replace voicerole commands with REST endpoints (78f40e7)
  • transition !warn command to interaction (65ff19a)

Refactor

  • make karma stats part of the Member (0267588)
  • replace custom types with discord-api-types (6d966f0)

0.21.0 (2021-06-08)

Features

  • grant +1 of karma on 👋 (5004543)
  • handle karma using a slash command (58363cf)

Refactor

  • split karma and report by type (6626d59)

0.20.1 (2021-05-30)

Bug Fixes

  • member mutenotified tag is not being set (3a3e0ca)

0.20.0 (2021-05-28)

Features

  • automatically expire warns (f66ac27)
  • automatically mute members with -3 karma (4e79ecd)
  • handle heart as another +1 for karma (a67b36d)

Bug Fixes

  • code doesn't run because that's not how type systems work (5720d20)
  • wrong evaluation of undefined variable (0bfc498)

Refactor

  • inline XDG_CONFIG_HOME instead of using a dep (d43db30)

0.19.0 (2021-04-25)

Features

  • add members with karma to the allowlist for links (f61cccf)

0.18.0 (2021-04-04)

Features

  • add makibotctl commands for getting and setting karma (7ece349)
  • add endpoints to control karma (ab92978)

Bug Fixes

  • case sensitivity on file import (d9492df)
  • commands starting with ! should not grant karma (acf308c)

0.17.1 (2021-03-26)

Bug Fixes

0.17.0 (2021-03-19)

Features

0.16.1 (2021-03-06)

Features

  • karma: add command to yield the karma of a member (263ce87)

Bug Fixes

  • karma: !setkarma is giving karma to the sender (a1e08f9)

0.16.0 (2021-03-06)

Features

  • add members to role when they reach level 10 (e8c0704)
  • karma: add karma backlog (2e0aa43)
  • grant points for every message sent (237d3a6)

Bug Fixes

  • antiflood: forget deleted messages (f5cafeb)
  • compilation error due to function prototype (030bdff)

Refactor

  • extract karma logic to lib/karma.ts (561d160)
  • karma: move karma database to Client (6b90bc9)

0.15.0 (2021-02-12)

Features

Bug Fixes

  • exclude unverified members from antiflood (c6f9f65), closes #242

0.14.1 (2021-02-11)

Bug Fixes

  • disable Level 1 messages for trusted members (e1ccd72)

0.14.0 (2021-02-10)

Features

  • karma: put a different message for level up to level 1 (3b01bc6)
  • add karma (#239) (5592fc8)

0.13.0 (2021-01-17)

Features

  • add Counter (01ccee3)
  • add expirable Tags (ccc399d)
  • add multiple TTL expiration strategies (f932509)
  • add roles when members join voice channels (18027fe)
  • add TagBag (c525cf6)
  • add TTL strategies to Counters (301fd13)
  • handle duplicate messages (flooding) (6da4210), closes #185

Bug Fixes

  • exclude spec directory when building code (c764f8d)
  • forgot to update some breaking changes (848530c)
  • tweak antispam rules (330b13c)

Refactor

  • ops: run JavaScript GitHub Actions (b81e2f9)
  • unit test Tag and Counter classes (757af6b)

0.12.0 (2020-12-06)

Features

Refactor

  • import commands as ES Modules (31c9365)

0.11.2 (2020-10-30)

Bug Fixes

0.11.1 (2020-10-29)

Bug Fixes

  • declare intents for the bot (338f045)

0.11.0 (2020-10-28)

0.10.1 (2020-10-28)

Features

  • add logger to capture bot actions (dc92a3e)

0.10.0 (2020-10-18)

Features

  • don't dispatch antispam on trusted members (9feeba8), closes #184
  • enhance antispam system (8803083), closes #183

0.9.0 (2020-09-25)

Features

Bug Fixes

  • make the cooldown message less aggresive (9958878)

0.8.0 (2020-09-19)

Features

  • add experimental makibotctl command (e69881a)
  • enhance verification flow (efd517c)
  • expose guilds through the HTTP API (59660fd)
  • introduce tags (e812754)
  • use webhooks for modlog events (cd91852)

Bug Fixes

  • downgrade to axios 0.19.x to avoid bugs (53f6922)
  • verifier may throw if message.member is null (5dd0242)

Refactor

  • centralize modlog event pushing (2c3c6d6)
  • ffmpeg is not neccessary in Docker (e034ec9)

0.7.2 (2020-07-19)

Bug Fixes

  • sometimes GuildMember#joinedAt yields null (3817b0d), closes #159 #9

0.7.1 (2020-07-02)

Features

0.7.0 (2020-06-25)

0.6.2 (2020-06-16)

0.6.1 (2020-06-13)

Features

  • disallow !helper to users who have been warned (#145) (9b80377)
  • include channel in the WarnModlogMessage (#127) (38cd055)
  • include link in the warned message (#128) (5f656ca), closes #107

Bug Fixes

  • channels are not being found (#114) (ca42ed3)
  • shutdown when the disconnect event is received (#110) (f4ecc03)

0.6.0 (2020-05-01)

Features

Refactor

  • extract server settings into custom class (#105) (2435eee)
  • remove !presence and !activity (#106) (0dc9f15), closes #33
  • wrap role and channel accessors in Server class (#104) (1656ba9)

0.5.1 (2020-04-26)

0.5.0 (2020-04-24)

Refactor

0.4.2 (2019-12-07)

Bug Fixes

  • load commands ending in .js when Makibot starts (cd76601)
  • wait until client.destroy() promise resolves (c9b5149)

0.4.1 (2019-12-06)

Bug Fixes

  • actually build the program in Dockerfile (78bda69)
  • tag Docker image as latest (603cac5)

Features

  • integrate with GitHub Registry (#45) (0c98884)
  • release to Docker when a release gets published (#46) (265e81b)

0.4.0 (2018-07-01)

0.3.3 (2018-06-16)

0.3.2 (2018-06-02)

0.3.1 (2018-05-27)

0.3.0 (2018-05-27)

0.2.0 (2018-05-06)

0.1.0 (2017-12-29)