Releases: open-discord-bots/open-ticket
Releases · open-discord-bots/open-ticket
Open Ticket v4.1.2
Improved
- Updated German translation for v4.1 ( @BENZORICH )
- API cleanup for the permission system (improved readability)
Fixed
- Fixed
Unknown Interactionerror on ticket creation while the user is on cooldown - Fixed
Unknown Interactionerror in different places by updating modal responder systems - Fixed autocomplete error when the
/ticketor/panelcommand has more than 25 options - Fixed
Unknown Membererror when generating a transcript of a ticket where the creator left the server - Fixed
Unknown Membererror in the permission system wherefetchGuildMember()was used incorrectly - Admins are now able to delete tickets where no message has been sent with
allowCloseBeforeMessageenabled - Replaced deprecated function
fetchPinned()with a new alternative
Open Ticket v4.1.1
How do I use the new Interactive Setup CLI?
Start the interactive CLI by running
npm run setup. Then follow the instructions of the CLI itself. For questions, please visit our discord server.
Improved
- Added 7 new translations for v4.1 sentences.
- The initial quick setup CLI can now create up to 10 tickets in a row instead of the previous limit of 5.
- Updated
discord.js,ansis&typescriptpackage versions.
Fixed
- Fixed plugins not loading on windows (again).
- Fixed
The reply to this interaction has already been sent or deferredwithinteraction.defer(). - Fixed the quick setup CLI using
v4.0.6instead of the current version in the JSON config. - Fixed a typo in the Dutch translation.
Open Ticket v4.1.0
How do I use the new Interactive Setup CLI?
Start the interactive CLI by running
npm run setup. Then follow the instructions of the CLI itself. For questions, please visit our discord server.
Added
- Added the Interactive Setup CLI & Quick Setup CLI tools to configure the bot. (
npm run setup) - Added
/topic setcommand (change ticket topic). - Added
/priority set,getcommand (change ticket priority). - Added
/transfercommand (transfer ticket ownership). - Added a dynamic & customisable channel topic to tickets (
general.json). - Added a ticket priority system with different levels and a channel emoji.
- Added
"status"."state"to provide a bot status state (general.json). - Added the ability to pin the first ticket message (
general.json). - Added the ability to choose a custom pin emoji instead of 📌 (
general.json). - Added a
user-nicknameoption for channel suffixes (by @duboiss). - Added a toggle to disable closing/deleting a ticket before a message is sent.
- Added a toggle to disable closing/deleting a ticket before an admin message is sent.
- Added a toggle to only allow
globalAdminsto delete a ticket without transcript. - Added a toggle to display embed fields together with question answers.
- Added a toggle to always show the reason in the embed, even if there isn't any.
- Added a toggle to also show global admins in panel admin lists.
- Added a toggle to disable autoclose after the ticket got reopened. (Improved autoclose)
- Added a toggle to only autodelete tickets that are already closed. (Improved autodelete)
- Added reaction role server & dm logs.
- Added
--silentflag to stop console output from logs - Configs will now also be migrated when switching Open Ticket versions.
- Added slow mode for ticket options (
options.json). - Added 11 new statistics, including: (
Ticket Volume,Average Tickets/User,Tickets Transferred,Current Tickets,System Uptime,Ticket Age,Message Amount, ...)
Improved
- Disabled plugins will now show up as
(+... disabled plugins)in the start screen. /panel,/ticket&/moveoptions are now using autocomplete interactions.- Renamed
"status"."status"to"status"."mode"(config/general.json). roleAdding&roleRemovingmessage settings have been merged intoreactionRole- Improved the autoclose/autodelete system.
- Renamed panel
Roles:toAdmins:for improved clarity. - The config checker will now also include humanized index numbers (e.g. 1st, 2nd, 3rd, 4th, ...).
- Panels now also show global admin roles in the
Admins: ...list. - Updated README.md & License Terminoligy
- Updated translations for
english,dutch,indonesian,hindi,thai,catalan,estonian&finnish(by our community translators 😎).
Fixed
- Fixed links to documentation & tutorial.
- Fixed missing translations from
v4.0.0. - Fixed small typescript & autocomplete issues.
- Fixed config checker typo's.
- Fixed some commands not showing up in the
/helpmenu. - Fixed
User Ticket Commandscategory not showing up in the/helpmenu. - Fixed order of certain ticket statistics.
- Fixed database (
Formatted JSON Stringify) not accepting newlines & escaped characters. - Fixed plugins not working on windows when not located in the
C:\\drive. - Fixed most async-array issues (
array.forEach(async () => {...})). - Fixed error
Unable to register permissions for globalAdmin.
Removed
- (API) Removed deprecated
ODManagerRedirectHelper. - (API) Removed old migration functions from
openticket:...toopendiscord:.... - (API) Removed deprecated
sourceandidentifierproperties fromODId, replaced by functions.
API Changes
- (API) Added
ODQuickMessagebuilder for plugins - (API) Added support for autocomplete interactions (
ODAutocompleteResponder) - (API) Added support for context menu interactions (
ODContextMenuResponder) - (API) New
opendiscord:silentflag inODFlagManager - (API) New config checker string validators:
invertedContains,lowercaseOnly,uppercaseOnly,noSpecialCharacters,withoutSpaces,capitalLetterWarning,punctuationWarning. - (API) New config checker number validators:
invertedContains,nanAllowed. - (API) Config checker structure
{...optional:boolean,priority:number,...}are now optional for increased readability. - (API) The
pendiscord:create-ticket-permissionsaction now supports acustomReasonto help with creating custom ticket restriction plugins. - (API) Added
ODCheckerManager.createTemporaryCheckerEnvironment()for using the config checker outside of checking config files. - (API) Added Interactive Setup CLI properties to config checker structures.
- (API)
ODClientManager.getGuilds()is nowasync-based. - (API) Added
ODClientManager.contextMenus. - (API) Added
ODClientManager.autocompletes. - (API) Added
ODConfig.reload()(reload config). - (API) Added
ODConfig.save()(save changes to the config like the interactive setup CLI). - (API) Added a
formatteroption toODJsonConfigwhen saving data. - (API) Added
ODConsoleManager.silentproperty. - (API) Added
ODStatScope.getAllStats()for getting a stat of all users, tickets, ... - (API) Added
ODPriorityLevel&ODPriorityManager. - (API) Added
ODTranscriptCollector.ticketUserMessagesAnalysis()to analyse ticket messages. - (API) Npm package
terminal-kitis required for the interactive setup CLI.
Open Ticket v4.0.7
Added
- Added Bengali translation (by @HanumeshGupta)
- Added Japanese translation (by @HanumeshGupta)
- Added Greek translation (by @HanumeshGupta)
- Added Slovenian translation (by @HanumeshGupta)
- Added Korean translation (by @HanumeshGupta)
- Added Tamil translation (by @HanumeshGupta)
- Added Simplified Chinese translation (by @HanumeshGupta)
- Added Kurdish translation (by @HanumeshGupta)
Improved
- Updated livestatus messages
Fixed
- Fixed config checker
UniqueIdArraychecker ignoring invalid string inputs (by @guillee3)
Removed
nothing
Open Ticket v4.0.6
Added
- Persian language translation
- Added recommended hostings to README.md
Improved
- Updated discord.js version to
v14.19.3
Fixed
- Fixed crash when registering slash commands and a non-chatinput command already exists in the bot.
- General stability improvements.
Removed
nothing
Open Ticket v4.0.5
Added
nothing
Improved
- (API) Decreased boilerplate parameters in the QuickBuilder classes.
Fixed
- Fixed ticket suffixes not counting when used with the
ot-sqlite-databaseplugin. - Panels are now required to have at least 1 option.
Removed
nothing
Open Ticket v4.0.4
Added
- Support for HTML Transcripts v2.1
- HTML Transcripts now have a data upload limit of 5MB (without images) (+/- 3000 messages)
Improved
- General transcript improvements (updated layout, more stats, performance, ...)
Fixed
- HTML Transcripts crashing for some reason.
Removed
- 16 second timer for transcript generation (not required anymore)
Open Ticket v4.0.3
Added
nothing
Improved
- Updated
discord.jsversion tov14.19.
Fixed
- Fixed a critical bug in the responders which was caused by the new discord components.
- Fixed a bug where the bot would send a partial ephemeral message on ticket creation when disabled.
Removed
nothing
Open Ticket v4.0.2
Added
- Added new language
Vietnamese(by ngocdiep2006) - Added new and updated previews in the
README.md.
Improved
- The
README.mdhas been improved in multiple locations (translators, contributors, sponsors, ...)
Fixed
- Fixed an error which was caused by an invalid config checker maxLength in option names. (#151)
- Fixed tickets not moving to a new category when closed/claimed/reopened. (#149)
- The ticket message now shows the correct amount of hours in the autoclose footer when using
/autoclose enable.
Removed
- Link to the old tutorial in the
README.md.
Open Ticket v4.0.1
Added
- Added new language
Swedish(by NoOneNook) - Added new language
Norwegian(by NoOneNook) - Added new language
Latvian(by NoOneNook) - Added new language
Russian(by NoOneNook) - (API)
allowCategoryChangeparameter to the followingODActioninstances:claim,unclaim,close&reopen. - (API) The
ODVersionclass now has 4 new methods:min(),max(),major()&minor()to compare versions. (#142) - (API) Added
ODQuickButton,ODQuickDropdown,ODQuickEmbed&ODQuickFilebuilders to improve plugin development efficiency.
Improved
- The panel will now be updated/edited when using a dropdown for a better user experience. (#143)
- Minor docker improvements (#139)
- (API) Type simplifications for the OT Documentation (#141)
- (API) All
ODManagersnow use the built-in javascriptMapsinstead of an array based system. (#126) - (API) Added a
User-Agentheader to all HTTP requests in Open Ticket. - (API) All panels now get saved to the database instead of only the auto-update panels.
Fixed
- Fixed README.md typo's & invalid links.
- Fixed requirements for content creators.
Removed
nothing