All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
1.42.0 (2025-02-23)
- help: enhance help message with new configuration options and commands (c8b17b3)
1.41.2 (2025-02-22)
- configuration: add option to disable thread creation and refactor related functions (a37dc02)
1.41.1 (2025-02-18)
1.41.0 (2025-02-18)
- error-handling: improve error reporting with detailed messages (08f698a)
- stats:edit: combination starting with number is not a NaN (233374a)
1.40.0 (2025-02-12)
- dice: support for dollars values in expression (b2d6b43)
1.39.1 (2025-02-12)
- 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)
- dbd: allow using {{exp}} in dice for replace with the expression (719d883)
- 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)
- interaction: make resetButton asynchronous and improve select handling (d407024)
1.38.1 (2025-02-11)
- dice:records: in first records, embed was not updated (a63b84c)
1.38.0 (2025-02-11)
- logger: improve logging format and add deleteByMessageIds function (513189a)
- validation: update error message for user not found and improve condition for hidden output (a281943)
- avatar: validate avatar URL (2fba310)
1.37.0 (2025-02-11)
- channelName: allow to detect emoji while channel starts with special ascii characters (57e4f44)
- timer: better displaying time (ec5f4fe)
1.36.0 (2025-02-05)
- avatar: allow using cdn image ! (778b254)
1.35.0 (2025-02-05)
- avatar: allow using cdn image ! (778b254)
1.35.0 (2025-02-05)
- avatar: allow using cdn image ! (778b254)
1.34.2 (2025-02-05)
- disable ping on graph (asked by user) (44b193e)
1.34.1 (2025-01-13)
- 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)
- 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)
- commands: improve sign handling in roll and calc commands (9c6eb7d)
1.31.0 (2024-12-31)
- calc: enhance calc sign with allowing >= and ⩾ ascii (37cc9a1)
- calc: uniformize when rolling the expression (d91f5a1)
1.30.2 (2024-12-30)
- calc: better result in chained expression (9f65ff8)
1.31.0 (2024-12-30)
- calc: add calc commands based on statistics (6260c34)
- utils: integrate capitalizeParenthesis for enhanced text formatting (96a1586)
- 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)
- utils: integrate capitalizeParenthesis for enhanced text formatting (96a1586)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- update dotenv configuration for production environment (d72d6a1)
- skill: improve dice validation and parsing in bot (bfc5522)
1.24.0 (2024-12-09)
- 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)
- 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)
- memory-database: use a enmap "memory" database to store all user-characters, speed up a lot the bot in the roll process. (befd6ee)