open-ticket

The most advanced open-source discord ticket bot with HTML transcripts, plugins, questions, claiming, pinning & more! Using discord.js v14 & JSON database!

GPL-3.0 License

Stars
198
Committers
10

Bot releases are hidden (Show)

open-ticket - Open Ticket 3.2.1!

Published by DJj123dj over 1 year ago

added:

  • updated all translations except Arabic & Portuguese
  • added option to switch between text & html transcripts
  • html transcripts now show role colors
  • added "--tsoffline" flag for testing html transcripts
  • redesigned the README.md file
  • added new devtsconfig.json for testing html transcripts
  • added /change to help menu

fixed:

  • #38 bug that caused the bot to crash when running /change with translation
  • new error message for when the firstmsg wasn't found
  • checker.js is now more reliable
  • bug that could crash the bot when not setting a member_role
  • ticket thumbnail wouldn't show up due to a typo
  • /change now also changes the category

removed:

  • console said "hello world" when using the command /change
    (console.log == best debug tool πŸ‘ )
open-ticket - Open Ticket 3.2!

Published by DJj123dj over 1 year ago

added:

  • html transcripts
  • new command /change to change ticket type
  • added danish

fixed:

  • transcripts now only generate when deleting a ticket, not when closing

removed:

  • removed all credits & credits option in config from open ticket
  • npm dependency node-localstorage isn't needed anymore
  • removed button to send transcript on closing ticket
open-ticket - Open Ticket 3.1!

Published by DJj123dj almost 2 years ago

added:

  • more embed customisation
  • option to change the placeholder in a dropdown
  • dropdowns now support reaction roles
  • new database system (DynamicDB v2)
  • auto-updating slash commands.

fixed:

  • IMPORTANT! bug that caused the add & remove in reaction roles being switched with logs & API responses
  • improved performance when deleting a ticket with +/- 6 seconds

Open Ticket v3.2 = html transcripts πŸ˜„

open-ticket - Open Ticket 3.0.1!

Published by DJj123dj almost 2 years ago

Bug fix update

added:

  • system to decrease openticketdebug.txt file size
  • new german translation

fixed:

  • #34 fixed crashing when array was string in checker.js
  • #31 fixed crash when using apidebug.txt
  • in checker.js, the text after the blue part is now able to contain a '
  • caching members from a server that doesn't exist no longer gives an error
open-ticket - Open Ticket 3.0!

Published by DJj123dj about 2 years ago

After lots of weeks, it's finally here! The "A little better update".
Many improvements have been made for developers & users.
For the first time in history, it's now fully supported to use open ticket in your custom bot with other features.
A lot of tools have been released for developers to experiment with.
For users are also a lot of changes! The most important ones being dropdowns & closing with reason.
We added 2 new languages & you are now able to move closed tickets to another category.

It's also useful to know that we have a new wiki/documentation!
Access it at https://docs.openticket.dj-dj.be

added:

  • dropdown mode
  • the official open ticket API
  • closing with reason
  • option to move closed tickets to another category
  • Italian translation
  • Portuguese translation
  • new OT documentation
  • slash command translation
  • checker.js for "messages" part in config
  • more embed customisation
  • Option to show slashcmds in help menu
  • api.json for disabling unwanted features
  • embedded mode for developers
  • advanced debug logs
  • added process flags
  • apidebug.txt for debugging plugins

fixed:

  • fixed french language not being accepted
  • fixed error by closing ticket while getting deleted.
  • Transcripts now show "closed/deleted by"
  • new german & arabic translator
  • fixed time in transcript being inverted
  • added 2.5 german & arabic translation
  • Replaced old code with new efficient code
  • "enableDmMessage" is now "enableDmOnOpen"
open-ticket - OpenTickets 2.5.1 update

Published by DJj123dj about 2 years ago

added:

  • the user that caused a perms error, is now in the footer of the embed.
  • added new spanish translation

fixed:

  • by transcripts, the "reason" wasn't translated
open-ticket - OpenTickets 2.5.0 update

Published by DJj123dj about 2 years ago

added:

  • new buttons
  • completely new embeds
  • recreated the entire button system
  • added close with reason to the api (it can't be used yet)
  • added a new error message when deleting a ticket & having no perms
  • updated the translation for English, Dutch, French, Romanian & Czech
  • changed the config.json file
  • added hidden data, it's a new way of transferring data between bots

fixed:

  • when re-opening, the users wouldn't be able to access the ticket due to a permission error.
  • fixed that the bot temporary freezes while deleting a ticket.
  • fixed that the wrong buttons appeared when pressing the buttons in a certain order.
  • fixed a bug that was caused by the api when the help message would run in dm
  • fixed view channel bug when adding someone to the ticket with /add
  • all button id's start now with OT for compatibly for other code & other bots.

removed:

  • checker.js token max length
  • closebuttons.js is now deprecated & will be removed in the next release
  • removed the ugly text in the embed when creating a ticket
open-ticket - OpenTickets 2.4.0 update

Published by DJj123dj about 2 years ago

added:

  • Czech translation.
  • a lot of developer functions to use open ticket in their projects (not finished yet).
  • from now on when using open ticket you need to follow our terms (https://www.dj-dj.be/terms).
  • new functions for future updates.
  • option enableCustomColor by messages in the config.
  • a system that prevents that you can press 2 times on the same button and the bot crashes.
  • the OFFICIAL API (beta)!!!! So from now on you can extend open ticket with your own code!

fixed:

  • a bug that "return" wasn't on the right place & so that permissions could be ignored.
  • the permission system is now controlled from 1 file
  • fixed bug that caused error by importing the alpha version of the api
  • the new max token length is 90 instead of 70 because discord tokens can get longer now!
  • fixed that some permissions were still in the discord.js 13 version
  • server_id in config is now required
  • buttons can now not be clicked 2 times anymore
  • people with a role in the "adminroles" can now see the channel back after closing the ticket!
  • updated the wiki

removed:

  • removed "bot_name" from the config, because it was added in version 1 but never used! (idk why i put it in ot in the first place)
open-ticket - OpenTickets 2.3.3 update

Published by DJj123dj about 2 years ago

added:

  • open ticket api part 1
  • developer functions for integrating with the 3.0 update

fixed:

  • permission bugs
  • fixed that you could press 2 times on the same button, so that gave an error when deleting a ticket 2 times!
open-ticket - OpenTickets 2.3.2 update (bug fixes)

Published by DJj123dj about 2 years ago

added:

  • new code for the large 3.0 update :)

fixed:

  • no permission messages are now in DM (so you can't spam anymore in channels by pushing on buttons)
  • fixed a reaction roles bug that was caused by an invalid variable
  • added another sentence in arabic
  • fixed some placeholders in config.json
  • fixed a new bug that transcripts couldn't be created due to the new discord api.
  • fixed an error message typography
  • fixed an error message typo in reaction roles.
  • fixed that checker.js did run twice

removed:

  • open moderation announcement
open-ticket - OpenTickets 2.3.1 update (bug fix)

Published by DJj123dj about 2 years ago

added:

  • message when duration of deleting a ticket is longer than expected.

fixed:

  • a large but that errored the permission system, so everyone could join tickets or the ticket wasn't created.
  • a bug that caused transcript errors.
  • intents bug.
  • a lot of small bugs
open-ticket - OpenTickets 2.3.0 update

Published by DJj123dj over 2 years ago

added:

  • spanish translation
  • discord.js v14 πŸŽ‰

fixed:

  • /

removed:

  • option to use css named colors in embeds (this is due to a discord api change)
open-ticket - OpenTickets 2.2.0 update

Published by DJj123dj over 2 years ago

added:

  • french translation
  • arabic translation
  • translator announcement

fixed:

  • 2 small bugs
  • !ticket is now changed to !ticket help (due to discord api reasons)

removed:

  • open moderation announcement
open-ticket - OpenTickets 2.1.2 update

Published by DJj123dj over 2 years ago

added:

  • german translation
  • credits to the translators

fixed:

  • a bug that caused that no files loaded except index.js

removed:
/

open-ticket - OpenTickets 2.1.1 update

Published by DJj123dj over 2 years ago

added:
/

fixed:

  • the "hoi" message when starting the bot
  • crash with "startsWith"

removed:
/

open-ticket - OpenTickets 2.1.0 update (Embeds & Co update)

Published by DJj123dj over 2 years ago

added:

  • new embeds
  • new error messages
  • new console & log system
  • updated the wiki
  • you can now re-open a ticket after it's closed
  • embeds are more customisable
  • added localisation (english, dutch, romanian & custom)
  • new command permissions
  • a new color mode is added
  • logs will now always save
  • added the option to close as admin only
  • a funny text art at the top of index.js
  • added the id of the ticket creator at the start of the embed
  • added a sneaky open moderation announcement

fixed:

  • checker.js does also work with newer config stuff now
  • fixed crash when using /new or /ticket on reaction roles
  • fixed bug that category wasn't optional
  • update help menu
  • update wiki
  • the transcript file name is now the name of the ticket
  • new slash command for re-open
  • new dm message for closing, deleting or reopening a ticket
  • fixed bug that node.js error message could appear by running npm run cleardata
  • fixed bug that color regex didn't work with #ffffff in checker.js
  • fixed that all noPerms messages with interaction weren’t ephemeral

removed:

  • unnecessary code

card.png

open-ticket - OpenTickets 2.0.0 update (totally rewritten!)

Published by DJj123dj over 2 years ago

added:

  • 1 new ticket type (ticket, website, reaction roles)
  • you can now create unlimited tickets
  • you can now create multiple ticket messages
  • slash commands
  • multiple admin roles
  • category is now configurable per ticket
  • the prefix can now be edited without the "ticket" part
  • we have a WIKI!
  • you can customize most of the embeds
  • there are now 2 options: close or delete
  • transcripts are saved in a TXT file
  • debug mode & better error handling
  • dynamic database system

fixed:

  • the config has now a lot of new options
  • some old bugs
  • checker.js is more effective
  • moved all the core scripts to "core" instead of "commands"
  • we have a slightly darker logo now :)
  • there are a lot of small things that changed, i'm not gonna write them all in the changelog

removed:

  • the cleardatabase command (can now be done with the console)
  • the documentation in the repository itself (moved to wiki)
  • the layout part in the config (maybe a cooler system in the future)
  • the custom messages option (part of it in ticket options & another part in localisation in the future)
open-ticket - OpenTickets 1.3.2 update

Published by DJj123dj over 2 years ago

added:

  • an alias for !resetdatabase: !resetdb
  • you need the "chalk" library now!
  • checker.js
  • "enabled" option for status
  • better console logs
  • enable logs option to config

fixed:

  • a bug that crashed the bot on using the command !resetdatabase
  • "member_role" in config is optional but not recommended
  • fixed crash on startup
  • fixed bug where the bot crashes by using transcripts
  • changed package.json

removed:

  • "canvas" library is not longer required
  • removed "server_icon" & "server_name" from config
open-ticket - OpenTickets 1.3.1 update

Published by DJj123dj over 2 years ago

added:

  • Q&A in the README.md
  • v1.4.0 announcement

fixed:

  • a bug that happend when you created too much tickets
  • deprecation warnings (setAuthor & setFooter)
  • the logo in README.md is smaller now
  • markdown files relocated
  • fixed a bug that some messages appeared in Dutch

removed:
nothing

open-ticket - OpenTickets 1.3.0 update

Published by DJj123dj over 2 years ago

added:

  • now its possible to create 6 tickets instead of 4
  • you can edit the number of tickets per user now
  • you can edit & enable/disable all messages
  • all embeds are now editable
  • the color of the button can be changed
  • updated config.json
  • updated README.md
  • a new type of button is here: website links

fixed

  • nothing at the moment :)

removed

  • nothing
Badges
Extracted from project README
discord version discord.js license stars Open Ticket Full-Setup Guide
Related Projects