Changelog
All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
1.55.0 (2025-06-27)
Features
- add aide changelog (33f9bbd)
1.54.3 (2025-06-26)
Bug Fixes
1.54.2 (2025-06-22)
Bug Fixes
- help message doesn't send right as they are pretty long (76669e2)
1.54.1 (2025-06-22)
Bug Fixes
- user shouldn't be allowed to set a private sheet (80962de)
1.54.0 (2025-06-22)
Features
- disallow channel with self register (09f1cc3)
Bug Fixes
- private channel should not be allowed if private channel is not set (be08927)
- remaining value not accurate (c168085)
1.53.1 (2025-06-22)
1.53.0 (2025-06-22)
Features
- opposition roll option in dice (6a49ec2)
1.52.0 (2025-06-21)
Features
- remove restriction on adding a template & add it when template is deleted (ea61eb2)
Bug Fixes
1.51.1 (2025-06-19)
Bug Fixes
- dbroll: forgot to remove the detect critical before parsing the comparator (f824942)
1.51.0 (2025-06-19)
Features
- custom critical per dice roll with
{(*)c(sf):(sign)(number)}
syntax. (ba55c42)
Bug Fixes
- damage: allow overriding template dice when registering an user (aka fix duplicate) (9d09c94)
- damage: on duplicate value registered with damage dice, allow to override a existing value (035a9ef)
- roll custom critical if they are dice (702a131)
1.50.1 (2025-06-15)
1.50.0 (2025-06-14)
Features
- allowSelf: add option where moderator needs to validate the sheet (64fb496)
1.49.0 (2025-06-14)
Features
- allow force distribution of points (085b11e)
1.48.4 (2025-06-13)
1.48.3 (2025-06-11)
Bug Fixes
- on-message: regression with "comments" on normal dice (like
1d20 hello
or1d20 # hello
) (410f5c0)
1.48.2 (2025-06-10)
Bug Fixes
- auto-role: inverted the stats/dice role (153f4ca)
1.48.1 (2025-06-10)
Bug Fixes
- calc: undefined symbol when calc's result = 0 (8698ada)
1.48.0 (2025-06-10)
Features
- exit the bot on uncaught error + send a message via webhook for alert (24aabc2)
1.47.1 (2025-06-09)
1.47.0 (2025-06-08)
Features
- allow self registration (deda85e)
1.46.1 (2025-06-08)
Bug Fixes
- chainedRoll: better take into account the comments on_message_send.ts (ec18748)
1.46.0 (2025-06-08)
Features
- threshold: allow to use "simple" number to replace the original threshold (if any) (362386b)
1.45.3 (2025-06-08)
Bug Fixes
- lang: update the lang in memory too (7bda09c)
- should calculate points on all stats, not only the "page" stats. (7be5803)
1.45.2 (2025-06-06)
Bug Fixes
- add silent option to suppress error messages in getTemplate function when loading the first time (2bf6270)
- better zod error (prevent crash if too much error) (508c7f5)
- export: fetch correctly avatar & channel when asked (e63fee9)
- import: allow to delete old char via an option in the cmd (d28da76)
- import: standardize header with new lib (22f32b7)
- should not throw error when a min/max is 0 (6a6dcd3)
- skip not found when ready (aef4c4c)
- translate: import error (5b9f6e0)
- use new version of verify template (without checking roll) while caching (8f1aa73)
- user not found when the username has number (like myname124) (62fbbfd)
1.45.1 (2025-05-29)
Bug Fixes
- no permission to send the welcome so fallback to DM (5309d76)
1.45.0 (2025-05-17)
Features
1.44.0 (2025-05-09)
Features
- mj: allow roll on global dice if exists (ac50687)
1.43.2 (2025-05-08)
Bug Fixes
- correct condition for generating stats dice in custom criticals (a25bf6f)
1.43.1 (2025-05-08)
Bug Fixes
- crash when starting the bot when the template is not found (2fdcf37)
1.43.0 (2025-05-08)
Features
1.42.4 (2025-04-12)
Bug Fixes
- unknow message while creating a new user (and probably other modal / button interaction) (86619c6)
- unknown message while creating a new user (and probably other modal / button interaction) (4a7e9f0)
1.42.3 (2025-03-30)
Bug Fixes
- interactions: handle expired interactions and add permission checks for modal replies (4dced5a)
- logging: improve error logging format and add ephemeral replies for user feedback (51f1a10)
1.42.2 (2025-03-16)
Bug Fixes
- channels: enhance channel type checks to exclude non-text channels (920f6f3)
- configuration: remove unused disabledLogs variable (bbd0a4d)
- dependencies: update discord.js to latest version (f547642)
- embeds: specify message type as Djs.Message
<boolean>
(a7f488f) - errors: add missing permission error messages for bot access (e69da26)
- remove log (045acaf)
- reply: ensure proper handling of reply options for edited responses (491e1dc)
1.42.1 (2025-03-04)
Bug Fixes
- whitespace: starting with the space for align (ccb8aa3)
1.42.0 (2025-02-23)
Features
- help: enhance help message with new configuration options and commands (c8b17b3)
1.41.2 (2025-02-22)
Bug Fixes
- configuration: add option to disable thread creation and refactor related functions (a37dc02)
1.41.1 (2025-02-18)
1.41.0 (2025-02-18)
Features
- error-handling: improve error reporting with detailed messages (08f698a)
Bug Fixes
- stats:edit: combination starting with number is not a NaN (233374a)
1.40.0 (2025-02-12)
Features
- dice: support for dollars values in expression (b2d6b43)
1.39.1 (2025-02-12)
Bug Fixes
- dice: expression should be also converted even used in
{exp}
(9fec858) - dice: use
{exp}
to prevent colliding with {exp} stats name (3732260) - roll: evaluate expressions in dice rolls and update modificator handling (43a9697)
1.39.0 (2025-02-11)
Features
- dbd: allow using {exp} in dice for replace with the expression (719d883)
Bug Fixes
- buttons: button disappear when register dice (7cfdf44)
- i18n: translation not found (44bf1e9)
- if the select menu disappear, make it appear with the button (f69a154)
1.38.2 (2025-02-11)
Bug Fixes
- interaction: make resetButton asynchronous and improve select handling (d407024)
1.38.1 (2025-02-11)
Bug Fixes
- dice:records: in first records, embed was not updated (a63b84c)
1.38.0 (2025-02-11)
Features
- logger: improve logging format and add deleteByMessageIds function (513189a)
- validation: update error message for user not found and improve condition for hidden output (a281943)
Bug Fixes
- avatar: validate avatar URL (2fba310)
1.37.0 (2025-02-11)
Features
- channelName: allow to detect emoji while channel starts with special ascii characters (57e4f44)
- timer: better displaying time (ec5f4fe)
Bug Fixes
1.36.0 (2025-02-05)
Features
- avatar: allow using cdn image ! (778b254)
1.35.0 (2025-02-05)
Features
- avatar: allow using cdn image ! (778b254)
1.35.0 (2025-02-05)
Features
- avatar: allow using cdn image ! (778b254)
1.34.2 (2025-02-05)
Bug Fixes
- disable ping on graph (asked by user) (44b193e)
1.34.1 (2025-01-13)
Bug Fixes
- diceRoll: do not trimAll in baseRoll (because it breaks comments!) (02712e5)
- forgot to remove a param in rollWithInteraction (9f3dd4c)
- send: urgent fix - wrong message deleted (6ff718b)
1.35.0 (2025-01-03)
Features
- calc: set calc result as other roll, allowing better "forwarding" with anchor and logUrl (499d5dd)
- if the server have a template ⇒ enable by default the commands ID when the bot is ready (73748eb)
1.33.0 (2024-12-31)
Features
- commands: improve sign handling in roll and calc commands (9c6eb7d)
1.31.0 (2024-12-31)
Features
- calc: enhance calc sign with allowing >= and ⩾ ascii (37cc9a1)
Bug Fixes
- calc: uniformize when rolling the expression (d91f5a1)
1.30.2 (2024-12-30)
Bug Fixes
- calc: better result in chained expression (9f65ff8)
1.31.0 (2024-12-30)
Features
- calc: add calc commands based on statistics (6260c34)
- utils: integrate capitalizeParenthesis for enhanced text formatting (96a1586)
Bug Fixes
- bot: enhance dice roll with stat replacement (1b82161)
- db: move uniformization of user records to correct location (a9f2edc)
- diceRoll: affectskill should only works if dollarsValue is defined (da22ba1)
- diceRoll: comments for dice allowing "&" and main comments (c970115)
- parse-result: do not add the comparator if the symbol for not is here (c83226f)
- parse-result: enhanced the comments handling of shared rolls (eb90736)
- parse-result: finally i fixed these too much space in res (dc99507)
- parse-result: message for success should only be used on "exact" result (5f257e8)
- parse-result: modify the message formatting in
result_as_text.ts
to ensuresuccessOrFailure
is prepended correctly (5dffb86) - parse-result: should keeps the comments between [] as if (69d1ef5)
- parse-result: trimAll on roll commands (49a8166)
- roll: ensure comparator is checked before processing dollarValue (5a64c7d)
- template: add missing space in embed message (d3aab8f)
- utils: enhance
capitalizeBetweenPunct
function (59e3c5e)
1.30.1 (2024-12-15)
Features
- utils: integrate capitalizeParenthesis for enhanced text formatting (96a1586)
Bug Fixes
- bot: enhance dice roll with stat replacement (1b82161)
- db: move uniformization of user records to correct location (a9f2edc)
- roll: ensure comparator is checked before processing dollarValue (5a64c7d)
- template: add missing space in embed message (d3aab8f)
- utils: enhance
capitalizeBetweenPunct
function (59e3c5e)
1.30.0 (2024-12-13)
Features
- dbroll: allow to exclude a statistiques from dbroll (d3e551f)
- parse-result: enhance compareValue to format originalDice output (238caaa)
- parse-result: replace roll function with getRoll in custom critical (a75e6da)
- parser: improve handling of custom critical rolls and comparisons (89e5f78)
- refactor custom critical handling in embeds (40da490)
- roll: add exclusion of specific statistics (7fbd036)
- roll: enhance dice roll logic with dynamic modificators and comparaison (fe93226)
- update dotenv configuration for production environment (d72d6a1)
- utils: add isNumber utility function for value validation (ad200a2)
Bug Fixes
- commands: correct client parameter in bulkDeleteCharacters call (50e86fb)
- custom_critical: correct value assignment in custom critical logic (ea7827f)
- custom-critical: allow dice also in custom critical compared to a dice to be rolled (prevent also errors :clown:) (249146c)
- custom-critical: fix name trimmed in the database and also the affect skill and onNatural dice that have no effect (5e9c1f2)
- delete: delete message and memory DB (4f435e1)
- edit: bulk edit memory when editing template (cb15d29)
- improve critical hit handling and modify import paths (b0b2176)
- memory-database: make updateCharactersDb call awaitable in thread message handling (c2e5707)
- parse-result: add custom critical value evaluation in the /dbd (a351c7e)
- parse-result: handle undefined statistics in convertNameToValue function (e70edae)
- parse-result: handle when cc used without $ value & allow them (8fd5b8a)
- skill: improve dice validation and parsing in bot (bfc5522)
- utils: add uniformization for record keys and values (56cf1f7)
- validation: correct logic for stat value number check (60d8455)
- wrong data dir in enmap (6fc00a8)
1.29.0 (2024-12-13)
Features
- dbroll: allow to exclude a statistiques from dbroll (d3e551f)
- parse-result: enhance compareValue to format originalDice output (238caaa)
- parse-result: replace roll function with getRoll in custom critical (a75e6da)
- parser: improve handling of custom critical rolls and comparisons (89e5f78)
- refactor custom critical handling in embeds (40da490)
- roll: add exclusion of specific statistics (7fbd036)
- roll: enhance dice roll logic with dynamic modificators and comparaison (fe93226)
- update dotenv configuration for production environment (d72d6a1)
- utils: add isNumber utility function for value validation (ad200a2)
Bug Fixes
- commands: correct client parameter in bulkDeleteCharacters call (50e86fb)
- custom_critical: correct value assignment in custom critical logic (ea7827f)
- custom-critical: allow dice also in custom critical compared to a dice to be rolled (prevent also errors :clown:) (249146c)
- custom-critical: fix name trimmed in the database and also the affect skill and onNatural dice that have no effect (5e9c1f2)
- delete: delete message and memory DB (4f435e1)
- edit: bulk edit memory when editing template (cb15d29)
- improve critical hit handling and modify import paths (b0b2176)
- memory-database: make updateCharactersDb call awaitable in thread message handling (c2e5707)
- parse-result: add custom critical value evaluation in the /dbd (a351c7e)
- parse-result: handle undefined statistics in convertNameToValue function (e70edae)
- parse-result: handle when cc used without $ value & allow them (8fd5b8a)
- skill: improve dice validation and parsing in bot (bfc5522)
- utils: add uniformization for record keys and values (56cf1f7)
- validation: correct logic for stat value number check (60d8455)
- wrong data dir in enmap (6fc00a8)
1.27.0 (2024-12-12)
Features
- parse-result: enhance compareValue to format originalDice output (238caaa)
- parse-result: replace roll function with getRoll in custom critical (a75e6da)
- parser: improve handling of custom critical rolls and comparisons (89e5f78)
- refactor custom critical handling in embeds (40da490)
- roll: enhance dice roll logic with dynamic modificators and comparaison (fe93226)
- update dotenv configuration for production environment (d72d6a1)
- utils: add isNumber utility function for value validation (ad200a2)
Bug Fixes
- commands: correct client parameter in bulkDeleteCharacters call (50e86fb)
- custom_critical: correct value assignment in custom critical logic (ea7827f)
- custom-critical: allow dice also in custom critical compared to a dice to be rolled (prevent also errors :clown:) (249146c)
- custom-critical: fix name trimmed in the database and also the affect skill and onNatural dice that have no effect (5e9c1f2)
- delete: delete message and memory DB (4f435e1)
- edit: bulk edit memory when editing template (cb15d29)
- improve critical hit handling and modify import paths (b0b2176)
- memory-database: make updateCharactersDb call awaitable in thread message handling (c2e5707)
- parse-result: add custom critical value evaluation in the /dbd (a351c7e)
- parse-result: handle undefined statistics in convertNameToValue function (e70edae)
- parse-result: handle when cc used without $ value & allow them (8fd5b8a)
- skill: improve dice validation and parsing in bot (bfc5522)
- wrong data dir in enmap (6fc00a8)
1.26.0 (2024-12-12)
Features
- parse-result: enhance compareValue to format originalDice output (238caaa)
- parse-result: replace roll function with getRoll in custom critical (a75e6da)
- parser: improve handling of custom critical rolls and comparisons (89e5f78)
- refactor custom critical handling in embeds (40da490)
- roll: enhance dice roll logic with dynamic modificators and comparaison (fe93226)
- update dotenv configuration for production environment (d72d6a1)
- utils: add isNumber utility function for value validation (ad200a2)
Bug Fixes
- commands: correct client parameter in bulkDeleteCharacters call (50e86fb)
- custom_critical: correct value assignment in custom critical logic (ea7827f)
- custom-critical: allow dice also in custom critical compared to a dice to be rolled (prevent also errors :clown:) (249146c)
- custom-critical: fix name trimmed in the database and also the affect skill and onNatural dice that have no effect (5e9c1f2)
- delete: delete message and memory DB (4f435e1)
- edit: bulk edit memory when editing template (cb15d29)
- improve critical hit handling and modify import paths (b0b2176)
- memory-database: make updateCharactersDb call awaitable in thread message handling (c2e5707)
- parse-result: add custom critical value evaluation in the /dbd (a351c7e)
- parse-result: handle undefined statistics in convertNameToValue function (e70edae)
- skill: improve dice validation and parsing in bot (bfc5522)
- wrong data dir in enmap (6fc00a8)
1.25.0 (2024-12-09)
Features
- update dotenv configuration for production environment (d72d6a1)
Bug Fixes
- skill: improve dice validation and parsing in bot (bfc5522)
1.24.0 (2024-12-09)
Features
- build: automate version synchronization with postrelease script (ecdb694)
- logger: enhance logging configuration and add pretty log styles (a03f23b)
- logging: replace console.error and console.warn with logger (468dfda)
- tests: add test for result within a simple roll (1c2cc33)
Bug Fixes
- change console.log to console.info for version update message (f093704)
- memory-database: prevent fatal error when no message are found for cache completion (54674f9)
1.23.0 (2024-12-08)
Features
- memory-database: use a enmap "memory" database to store all user-characters, speed up a lot the bot in the roll process. (befd6ee)