Fixes:
Note: v2.19.3 was a intermediary development version and is included in this update.
- Don't show quote channel in quote declined embed if quotesInChannels is disabled.
- Fixed @\everyone being able to see quote channel after first denial by freelancer.
- Fixed freelancers seeing quote channels after denying.
- The bot will now properly handle cases where the channel was deleted and will archive the ticket.
- The bot will now properly handle cases where the member left and will archive their ticket(s).
Changes:
- Service specific roles (like web dev) get added automatically after accepting, along with the freelancer role like it used to work prior to this version.
- Added missing locale file keys for new features added in v2.19.0.
- Clean up and reorganize new package scripts.
Primary changes:
Config changes:
- Commission proposals can now be denied, if enabled
- Removed
archivedLog
andapplicationsLog
settings.- Added
adminLog
setting for "master admin" logs. These include archives and more.- Quotes can now appear in channels, if enabled
- Changed custom IDs of profile panel, recreate panel if you have one.
- Added
sendNewUserWelcome
option intickets.yml
config to disable sending the welcome message to new users.- The distributed file is now very small, starts faster and doesn't require installing dependencies using
npm i
anymore, as everything is bundled. Simply run and watch!
- Add quotesInChannels (default: false) to enable creating channels for quotes
- Add tickets#channelNameTemplates.quote
Lang changes:
- Many changes. To modify your locale file to add the new messages, view & paste this snippet:
Code:# Deny commissions commissions.deny.button_label: "Deny: {reason}" # Available placeholders: {reason} commissions.deny.modal_title: "Deny the commission:" commissions.deny.modal_field_reason_label: "Reason for denying:" commissions.deny.success: "Commission denied." commissions.deny.errors.already_denied: "You have already denied this commission." commissions.deny.rejoin: "Rejoin" commissions.deny.rejoined: "Successfully rejoined the commission quote." quoting.deny.preset_reason.1: "Not interested" quoting.deny.preset_reason.2: "Low price" quoting.deny.preset_reason.3: "Not my expertise" quoting.deny.preset_reason.custom: "Custom" quoting.deny.reason_text: "Reason" quoting.deny.provide_reason: "Please provide a reason for declining this offer" quoting.deny.timed_out: "Declining the quote timed out." quoting.deny.dm_notification: "{client_mention} has __declined__ your quote of ${quote}." # Available placeholders: {client_mention} {client_username} {quote} quoting.deny.successful: "Successfully sent a decline information to the freelancer."
Fixes:
- Issue where bot would notify about config changes when starting up.
- Counteroffer buttons ignored lang labels.
- DEVCONFIG and PRODCONFIG will no longer affect the used config, override config directory using an
.env
file.Path is relative to root of the bot (cwd).Code:CONFIG_DIR=./config-dev # to use config files in ./config-dev/*.yml
Refactor:
- Cleaned up custom ids of components.
This update primarily focuses on adding a polling feature to receive payments. This means you will not have to use webhooks anymore, but can, if you wish. This currently works for PayPal & Stripe.
We've also added the ability to set a client role which is automatically given to the user when they pay their first invoice.
Changelog:
Config file alterations:
- Added client role after someone payments, configure with
/settings set Client Role
.- Added payment "polling", which is described above.
- Added a
description
field that can be added to the ticket panel / embed.- Added the ability to hide the
title
andimage
on the ticket panel.
Dev changes:
- Move
webhookId
andwebhookSigningSecret
into a subkey paymentNotifications:- Add
paymentNotifications.type
to paypal & stripe.- Remove
invoice.refresh.*
keys from locale as they are no longer used.
Miscellaneous:
- You can now create an empty file "DEVCONFIG" or "PRODCONFIG" to use configs in
config-dev
orconfig-prod
directories respectively. This means you can have up to 3 configs for development, release and production simultaneously.- Fixed stripe payment status detection
- Use multiline strings in YAML, this makes writing long lines much easier.
- Added explicit content type on generate invoice number in paypal request, causing 415 errors.
- Added prettier default boolean and number prompts.
- Remove Hono from dependencies as it was unused.
- Remove long deprecated
TicketMessage
model.- Format code with
prettier
.
- Removed services marked as "other" from application menus as it makes little to no sense to apply for them.
- You can still add "Other" services to the applications if you wish, by not setting
other: true
on them.- Replaced LS-themed emojis with generic discord emojis.