feat: allow other CWD

This commit is contained in:
Isaac
2024-01-11 00:08:57 +00:00
parent 0e81c4833e
commit c596e237de
10 changed files with 104 additions and 43 deletions

View File

36
src/user/config.yml Normal file
View File

@@ -0,0 +1,36 @@
#####################################################
## ____ _ ##
## | _ \ (_) ___ ___ ___ _ __ __| | ##
## | | | | | | / __| / __| / _ \ | '__| / _` | ##
## | |_| | | | \__ \ | (__ | (_) | | | | (_| | ##
## |____/ |_| |___/ \___| \___/ |_| \__,_| ##
## _____ _ _ ##
## |_ _| (_) ___ | | __ ___ | |_ ___ ##
## | | | | / __| | |/ / / _ \ | __| / __| ##
## | | | | | (__ | < | __/ | |_ \__ \ ##
## |_| |_| \___| |_|\_\ \___| \__| |___/ ##
## ##
## Documentation: https://discordtickets.app ##
## Support: https://lnk.earth/discord ##
#####################################################
logs:
files:
directory: ./logs
enabled: true
keepFor: 30
level: info
presence:
activities:
- name: /new
- name: with {totalTickets} tickets
- name: "{openTickets} tickets"
type: 3
- name: "{avgResponseTime} response time"
type: 3
interval: 20
status: online
stats: true
templates:
transcript: transcript.md
updates: true

View File

@@ -0,0 +1,30 @@
#{{ channelName }} ticket transcript
---
* ID: {{ ticket.id }} ({{ guildName }})
* Number: {{ ticket.category.name }} #{{ ticket.number }}
* Topic: {{ #ticket.topic }}{{ . }}{{ /ticket.topic }}{{ ^ticket.topic }}(no topic){{ /ticket.topic }}
* Created on: {{ #ticket }}{{ createdAtFull }}{{ /ticket }}
* Created by: {{ #ticket.createdBy }}"{{ displayName }}" @{{ username }}#{{ discriminator }}{{ /ticket.createdBy }}
* Closed on: {{ #ticket }}{{ closedAtFull }}{{ /ticket }}
* Closed by: {{ #ticket.closedBy }}"{{ displayName }}" @{{ username }}#{{ discriminator }}{{ /ticket.closedBy }}{{ ^ticket.closedBy }}(automated){{ /ticket.closedBy }}
* Closed because: {{ #ticket.closedReason }}{{ ticket.closedReason }}{{ /ticket.closedReason }}{{ ^ticket.closedReason }}(no reason){{ /ticket.closedReason }}
* Claimed by: {{ #ticket.claimedBy }}"{{ displayName }}" @{{ username }}#{{ discriminator }}{{ /ticket.claimedBy }}{{ ^ticket.claimedBy }}(not claimed){{ /ticket.claimedBy }}
{{ #ticket.feedback }}
* Feedback:
* Rating: {{ rating }}/5
* Comment: {{ comment }}{{ ^comment }}(no comment){{ /comment }}
{{ /ticket.feedback }}
* Participants:
{{ #ticket.archivedUsers }}
* "{{ displayName }}" @{{ username }}#{{ discriminator }} ({{ userId }})
{{ /ticket.archivedUsers }}
* Pinned messages: {{ #pinned }}{{ . }}{{ /pinned }}
---
{{ #ticket.archivedMessages }}
<{{ number }}> [{{ createdAtTimestamp }}] {{author.displayName}}: {{ text }}
{{ /ticket.archivedMessages }}

View File