2022-05-17 13:09:25 +00:00
|
|
|
bot:
|
2022-08-21 07:33:27 +00:00
|
|
|
# Bot token.
|
|
|
|
token: "<add-token-here>"
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Channel where ticket logs are posted (recommended).
|
2022-08-21 07:33:27 +00:00
|
|
|
log-channel: 000000000000000000
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2022-08-21 07:33:27 +00:00
|
|
|
# Message posted when a ticket is opened.
|
|
|
|
welcome-message: "Please describe your issue below, and include all information needed for us to take action."
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Decides what messages are shown in console.
|
2022-08-21 07:33:27 +00:00
|
|
|
# Possible values are: Critical, Error, Warning, Information, Debug.
|
|
|
|
console-log-level: "Information"
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# One of the following: LongDate, LongDateTime, LongTime, RelativeTime, ShortDate, ShortDateTime, ShortTime.
|
2022-08-21 07:33:27 +00:00
|
|
|
# More info: https://dsharpplus.github.io/api/DSharpPlus.TimestampFormat.html
|
|
|
|
timestamp-format: "RelativeTime"
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:37:56 +00:00
|
|
|
# Whether staff members should be randomly assigned tickets when they are made. Individual staff members can opt out using the toggleactive command.
|
2022-08-21 07:33:27 +00:00
|
|
|
random-assignment: true
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2022-08-21 07:33:27 +00:00
|
|
|
# If set to true the rasssign command will include staff members set as inactive if a specific role is specified in the command.
|
|
|
|
# This can be useful if you have admins set as inactive to not automatically receive tickets and then have moderators elevate tickets when needed.
|
|
|
|
random-assign-role-override: true
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Sets the type of activity for the bot to display in its presence status.
|
|
|
|
# Possible values are: Playing, Streaming, ListeningTo, Watching, Competing, Custom.
|
2022-08-21 07:33:27 +00:00
|
|
|
presence-type: "ListeningTo"
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2022-08-21 07:33:27 +00:00
|
|
|
# Sets the activity text shown in the bot's status
|
|
|
|
presence-text: "/new"
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Set to true if you want the /new command to show a selection box instead of a series of buttons.
|
2022-08-21 07:33:27 +00:00
|
|
|
new-command-uses-selector: false
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Number of tickets a single user can have open at a time, staff members are excluded from this.
|
2022-08-21 07:33:27 +00:00
|
|
|
ticket-limit: 5
|
2022-02-21 08:40:09 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Pins the first message in a ticket to allow for quick navigation to the top in large tickets.
|
|
|
|
pin-first-message: true
|
|
|
|
|
2022-02-21 08:40:09 +00:00
|
|
|
notifications:
|
2024-12-26 06:25:08 +00:00
|
|
|
# Notifies the assigned staff member when a new message is posted in a ticket if the ticket has been silent for a configurable amount of time.
|
2022-08-21 07:33:27 +00:00
|
|
|
# Other staff members and bots do not trigger this.
|
|
|
|
ticket-updated: true
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2022-08-21 07:33:27 +00:00
|
|
|
# The above notification will only be sent if the ticket has been silent for more than this amount of days. Default is 0.5 days.
|
|
|
|
ticket-updated-delay: 0.5
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Notifies staff when they are assigned to tickets.
|
2022-08-21 07:33:27 +00:00
|
|
|
assignment: true
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Notifies the user opening the ticket that their ticket was closed and includes the transcript.
|
2022-08-21 07:33:27 +00:00
|
|
|
closing: true
|
2022-02-21 08:40:09 +00:00
|
|
|
|
|
|
|
database:
|
2024-12-26 06:25:08 +00:00
|
|
|
# Address and port of the mysql server.
|
2022-08-21 07:33:27 +00:00
|
|
|
address: "127.0.0.1"
|
|
|
|
port: 3306
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Name of the database to use.
|
2022-08-21 07:33:27 +00:00
|
|
|
name: "supportchild"
|
2024-10-29 10:07:47 +00:00
|
|
|
|
2024-12-26 06:25:08 +00:00
|
|
|
# Username and password for authentication.
|
2022-08-21 07:33:27 +00:00
|
|
|
user: ""
|
2024-12-26 06:37:56 +00:00
|
|
|
password: ""
|
|
|
|
|
|
|
|
# TODO: May want to move interview entries to subkey to make room for additional interview settings
|
|
|
|
interviews:
|
|
|
|
000000000000000000:
|
|
|
|
message: "Are you appealing your own ban or on behalf of another user?"
|
|
|
|
type: "BUTTONS"
|
|
|
|
color: "CYAN"
|
|
|
|
paths:
|
|
|
|
- "My own ban": # TODO: Can I add button color support somehow?
|
|
|
|
text: "What is your user name?"
|
|
|
|
type: "TEXT_INPUT"
|
|
|
|
summary-field: "Username"
|
|
|
|
paths:
|
|
|
|
- ".*":
|
|
|
|
text: "Please write your appeal below, motivate why you think you should be unbanned."
|
|
|
|
- "Another user's ban":
|
|
|
|
text: "You can only appeal your own ban. Please close this ticket."
|
|
|
|
type: "FAIL"
|
|
|
|
color: "CYAN"
|