Version 2.13.0
Changes:
A lot of ticket management commands, like
/forcecomplete
,/incomplete
have been moved to subcommands of/manageticket
./manageticket
is a new command that is specifically for admins only and allows advanced control of ticket state./forcecomplete
is now/manageticket complete
./incomplete
is now/manageticket incomplete
.- Code for both has been modernized:
- The commands no longer have the
id
parameter. - It will now properly credit freelancers and service money to their bank.
- The output will now display the review star buttons to allow the customer to review the commission process.
- Added additional checks for cases that could possibly crash the bot if not checked and could be abused.
- The commands no longer have the
/freelancer
remains it's own command for now.- Note: you can still use the old command name to search for the subcommand!
Added new API endpoints:
- /tickets/config/services - get a list of services from the bot's config
- /tickets/config/commissions-prompts - get a list of prompts required to create a commission
- /tickets/config/applications-prompts - get a list of prompts required to apply
- All of the 3 require the X-Api-Key to be preset in the request headers, as most endpoints.
Issues fixed:
- Possible crash when using
/help
but nodiscord-api-types
was installed (this was unintended and the value is now brought in fromdiscord.js
, which is always installed, which should remove the need to installdiscord-api-types
on production) - Possible crash when executing
/forcecomplete
but the ticket was already set as completed.