Changes:
It is recommended to update your addons as well
- Code cleanup
- Action IDs are now verified to ensure they exist
- Arguments in action configuration are now verified based on the action used, providing much better configuration verification for actions. This will also allow for more meaningful fields in the future instead of using 'value' for all main information as currently
- Condition IDs are now verified to ensure they exist
- Reverting changes to conditions made in the last update, condition configuration parameters are now in 'args'. This reversion was made to support automatic configuration verification. Sorry for the inconvenience and those who had already migrated to the new format. The original format is no longer deprecated, the last update format is now deprecated but still works.
- Arguments in condition configuration are now verified based on the condition used
- Improved feedback for validation messages
- Meta keys now display an error message if they do not exist or are not the correct type for the action or condition used
Changes:
No need to update the addons, only build/core folder and package.json
- The conditions no longer have an argument, it is now directly in the base object. This is to simplify the format, still compatible with the old one but deprecated
- The condition isExpressionTrue no longer has a bonus format, it is now deprecated
- The actions that could be triggers inside an action are now renamed follow-up-actions for more clarity, the old name (actions) is now deprecated
- The function Utils.logToDiscord is now deprecated
- The function findChannel now returns directly undefined if the identifier is null
- The command /parse no longer tries to parse messages multiple times
Changes:
No need to update the addons, only build/core folder and package.json
- Added the hasTag condition to check if a thread has a given tag.
- The setTag action now supports a null value to remove all tags from the thread.
Changes:
No need to update the addons, only build/core folder and package.json
- Added new actions for thread management: closeThread, openThread, lockThread, unlockThread, setTag, addTag & removeTag
Changes:
No need to update the addons, only build/core folder and package.json
- Correction of the triggerActions in createThread
Changes:
No need to update the addons, only build/core folder and package.json
- New createThread action to create a thread in a forum or text channel.
- The startThread action now only handles creating a thread from a message.
Changes:
No need to update the addons, only build/core folder and package.json
- Correction of the startThread action in a regular channel
Changes:
No need to update the addons, only build/core folder and package.json
- Improved error messages for better clarity.
- The startThread action now works in any channel, even without a defined message.
- Added the private: boolean option to the startThread action to create a private thread.
