Open Ticket v4.2.0
💡 Still want to customise categories for individual ticket options?
Use the new OT Advanced Categories plugin as a replacement for the old category customisability from
config/options.json.
Added
- Added 5 new modal question types (
config/questions.jsonc)DropdownQuestionsRadio SelectQuestionsCheckbox SelectQuestionsFile UploadQuestionText DisplayQuestion
- Added Sub-Panel options to create panels-in-panels (
config/options.jsonc) - Added a priority dropdown (below the ticket message buttons)
- Added closed ticket channel emoji's (e.g. 🔐)
- Added
/transcriptshistory command - Added
descriptionproperties to all question types - Set maximum buttons per row in panels
- Create tickets for another user using
/ticket <user> - Config files changed from JSON --> JSONC
- Added help comments to all config files
- New OT v4.2 translations
- New Khmer translations (Cambodja) (@yuuslokrobjakkroval)
Improved
- Updated English translations (@DJj123dj)
- Updated German translations (@imLudwig)
- Updated Docker workflow & setup (@MauroDruwel)
- Permissions are now checked before showing the Verify buttons, rather than after the ✅ button is clicked
- Dropdown panels now support
roleandsub-paneloptions - The following error messages will now be deleted automatically:
- Responder Timeout Errors
- Channel Rename Errors
- Channel Category Errors
- Complete verifybar overhaul:
- Added
Acceptlabel to ✅ - Added
Cancellabel to ❌ - Improved button reaction speed
- Improved plugin support
- Improved accessibility
- Added
- Moved
closeCategory,backupCategory,claimedCategoriestoconfig/general.jsonc - Added plugin events for priority & topic change actions
- Added server & DM logs for
/priority set - Added server & DM logs for
/topic set - Added server & DM logs for
/transfer - Complete README overhaul:
- Added new features list with custom icons
- Added new sponsors list (and moved to top of README)
- Added new contributors list
- Added new preview images
- Moved
general.jsoncconfigsystem.permissionstopermissions - Moved
general.jsoncconfigsystem.logstologs - Moved
general.jsoncconfigsystem.messagestologs.logMessages
Fixed
- Fixed: missing OTv4.1 translations
- Fixed: Reaction role reply glitching with
replyOnReactionRole:false - Fixed: Unknown Errors now include timestamps in the
otdebug.txtfile - Fixed: Backup category doesn't work
- Fixed: Emoji's not working with
/renamecommand - Fixed: Renamed channels reverting to their original name when closed, pinned or assigned a priority
- Fixed: Added hardcoded limit of 1000 characters in
short¶graphquestions to prevent errors with embed field limits - Fixed: Bot not starting without administrator permissiosn in server
- Fixed: README.md link "Navigate to Quick Setup" not working (@mods-hd)
- Fixed:
/ticketcommand not checking blacklist, cooldown or limits when a modal with questions was sent - Fixed: FJS Formatters
'undefined' not allowed in JSONerrors - Fixed: FJS Formatters producing random trailing comma's
- Fixed: Text commands displayed incorrect timeout errors when deferred
Removed
- Removed Ticket Option
channel.closedCategory(now atconfig/general.jsonc) - Removed Ticket Option
channel.backupCategory(now atconfig/general.jsonc) - Removed Ticket Option
channel.claimedCategory(now atconfig/general.jsonc) - Removed plugin list from README (now at https://odplugins.dj-dj.be)
API Changes
- (API) Transfered shared Open Ticket API to the Open Discord Framework
- (API) Added Components v2 support for messages & modals (
modules/components.ts) - (API) Integrated
_Defaultclasses in the base classes - (API) Renamed
...ManagerIds_Defaultinterfaces to...ManagerIdMappings - (API) Type definitions are now defined in
./src/core/mappings/ - (API) Added
ODMemoryConfigclass for temporary in-memory configs - (API) Added
ODJsonCommentsConfigclass for JSONC config files - (API) Updated Formatted Json Stringify to
v1.3.2 - (API) Added
errFilenameto FJS for easy debugging - (API) Added JSONC support to Formatted Json Stringify
- (API) Added
@open-discord-bots/frameworkdependency - (API) Functions without implementation are now marked as
abstract - (API) Added message states for storing additional metadata in the database (
ODStateManager) - (API)
ODCheckerEnabledObjectStructurenow checks disabled objects by default unless specified - (API)
opendiscord:versionis now synced withpackage.json - (API)
opendiscord:apiversion is now synced withpackage.json - (API) Reduced code and bundle size which improves typescript compiler performance
- (API) Imports and files now use MJS instead of CJS (
.jsextension in imports required) - (API) Added utility function
getMessageFromBuildResult()for sending build results to channels - (API) Ticket categories are now calculated in the
opendiscord:calculate-ticket-categoryaction - (API) Ticket renames are now calculated in the
opendiscord:calculate-ticket-nameaction - (API) New Naming Conventions:
- Renamed
ODStatclasses toODStatistic&ODStatisticManager(module: stat.ts --> statistic.ts) - Renamed
ODCodeclasses toODTask&ODTaskManager(module: code.ts --> task.ts) - Renamed
ODConsole...MessagetoOD...ConsoleMessage - Renamed
SourcetoOriginin allODWorkerrelated classes (incl. actions, builders, responders) - Renamed
ODMessageBuildSentResulttoODResponderSendResult - Renamed
ODClientManager.fetchGuildChannelMessage()tofetchChannelMessage() - Replaced
#func()methods with typescript:private func() - Replaced
#propproperties with typescript:private prop
- Renamed
- (API) Removed the following
ODOptiondata variables:opendiscord:channel-category-closedopendiscord:channel-category-backupopendiscord:channel-categories-claimed