Commit Graph

598 Commits

Author SHA1 Message Date
Isaac
42ad5216f6
fix: update reject button correctly 2023-02-09 22:22:47 +00:00
Isaac
a0ffbae36d
feat: make closed ticket DM more useful 2023-02-09 21:51:28 +00:00
Isaac
5982754813
fix: decrypt referenced ticket's topic 2023-02-09 21:51:08 +00:00
Isaac
34c3ed1b6a
fix: /topic command when there was previously no topic 2023-02-09 21:50:50 +00:00
Isaac
c5f092ce2f
refactor 2023-02-09 17:40:25 +00:00
Isaac
d7ae5c0c9e
fix: don't give useless #unknown-channel in ticket close logs 2023-02-09 17:39:53 +00:00
Isaac
0d1cb90e7e
fix: convert pinned messages Map Iterator to array 2023-02-09 17:39:22 +00:00
Isaac
630d3ff4bb
fix: set tickets as closed (fixes #382) 2023-02-09 17:38:46 +00:00
Isaac
62ab9eb6c7
fix: don't throw errors on every message if a guild isn't configured 2023-02-09 17:34:17 +00:00
Isaac
df725185eb
Revert "fix: don't close tickets twice"
This reverts commit a73cc2bdd4.
2023-02-09 17:25:42 +00:00
Isaac
a73cc2bdd4
fix: don't close tickets twice 2023-02-09 16:52:29 +00:00
Isaac
0b44465024
Added translation using Weblate (Italian)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-09 17:15:49 +01:00
Hosted Weblate
7ef56cd2fc
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-08 15:41:18 +01:00
Isaac
2caf4d3716
Translated using Weblate (German)
Currently translated at 74.4% (175 of 235 strings)

Translated using Weblate (Hungarian)

Currently translated at 99.1% (233 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/hu/
Translation: Discord Tickets/Bot
2023-02-08 15:41:17 +01:00
Hosted Weblate
8158c3926b
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-08 15:34:43 +01:00
Isaac
629a687c19
Translated using Weblate (German)
Currently translated at 72.7% (171 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-08 15:34:43 +01:00
Isaac
9ab2a37c03
Update strings 2023-02-08 14:34:38 +00:00
Isaac
0f98a98316
Update strings 2023-02-08 14:33:24 +00:00
Hosted Weblate
965b6f861d
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-08 15:19:02 +01:00
Isaac
bb710ea442
Translated using Weblate (German)
Currently translated at 73.6% (173 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-08 15:19:01 +01:00
Isaac
bbd91c0110
Added translation using Weblate (Russian) 2023-02-08 13:29:12 +01:00
Nathan
b02a7cf4f3
Translated using Weblate (French)
Currently translated at 3.8% (9 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fr/
2023-02-06 16:39:30 +01:00
sgtJohnny
308d38beb9
Translated using Weblate (German)
Currently translated at 74.8% (176 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
2023-02-05 05:38:55 +01:00
Bruno Babica
2411aaa585
Translated using Weblate (Czech)
Currently translated at 18.7% (44 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
2023-02-04 21:59:57 +01:00
sgtJohnny
4043706efa
Translated using Weblate (German)
Currently translated at 36.1% (85 of 235 strings)

Translation: Discord Tickets/Bot
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
2023-02-04 21:59:57 +01:00
Hosted Weblate
d4d69cc4ef
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/
Translation: Discord Tickets/Bot
2023-02-03 23:56:26 +01:00
Isaac
9fb08a3ff4
Added translation using Weblate (Turkish)
Translated using Weblate (Czech)

Currently translated at 18.2% (43 of 235 strings)

Co-authored-by: Isaac <git@eartharoid.me>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-03 23:56:25 +01:00
Bruno Babica
41e3d768d9
Translated using Weblate (Czech)
Currently translated at 18.2% (43 of 235 strings)

Co-authored-by: Bruno Babica <bruno.babica@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/cs/
Translation: Discord Tickets/Bot
2023-02-03 23:56:25 +01:00
Noel Horvath
8edcf90000
Translated using Weblate (Hungarian)
Currently translated at 100.0% (235 of 235 strings)

Translated using Weblate (Hungarian)

Currently translated at 74.4% (175 of 235 strings)

Co-authored-by: Noel Horvath <noelhorvath@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/hu/
Translation: Discord Tickets/Bot
2023-02-03 23:56:24 +01:00
Aapo Katila
46b539c28b
Translated using Weblate (Finnish)
Currently translated at 36.1% (85 of 235 strings)

Translated using Weblate (Finnish)

Currently translated at 32.7% (77 of 235 strings)

Co-authored-by: Aapo Katila <abolakatila@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fi/
Translation: Discord Tickets/Bot
2023-02-03 23:56:24 +01:00
sgtJohnny
e55a1b37ab
Translated using Weblate (German)
Currently translated at 34.4% (81 of 235 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 23:56:24 +01:00
Blutwurst
596a595996
Translated using Weblate (German)
Currently translated at 34.4% (81 of 235 strings)

Co-authored-by: Blutwurst <faid@live.de>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 23:56:23 +01:00
Isaac
4464db07ba
Added translation using Weblate (Czech)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 23:56:23 +01:00
Aapo Katila
316de40160
Translated using Weblate (Finnish)
Currently translated at 5.5% (13 of 235 strings)

Co-authored-by: Aapo Katila <abolakatila@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/fi/
Translation: Discord Tickets/Bot
2023-02-03 18:40:50 +01:00
sgtJohnny
e1fa465c9b
Translated using Weblate (German)
Currently translated at 23.4% (55 of 235 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:40:49 +01:00
sgtJohnny
de1c08afce
Translated using Weblate (German)
Currently translated at 18.7% (44 of 235 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:32:40 +01:00
Rabenherz112
01e658a356
Translated using Weblate (German)
Currently translated at 18.7% (44 of 235 strings)

Co-authored-by: Rabenherz112 <jeremy8373@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:32:40 +01:00
Isaac
e96971f158
Added translation using Weblate (Finnish)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 18:32:39 +01:00
sgtJohnny
1243eac844
Translated using Weblate (German)
Currently translated at 9.7% (23 of 235 strings)

Co-authored-by: sgtJohnny <info@swissnixie.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:27:33 +01:00
Rabenherz112
1225592227
Translated using Weblate (German)
Currently translated at 9.7% (23 of 235 strings)

Co-authored-by: Rabenherz112 <jeremy8373@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/discord-tickets/bot/de/
Translation: Discord Tickets/Bot
2023-02-03 18:27:32 +01:00
Isaac
4f368bb507
Added translation using Weblate (German)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 18:18:59 +01:00
Isaac
7a40eec83f
Added translation using Weblate (Hungarian)
Co-authored-by: Isaac <git@eartharoid.me>
2023-02-03 18:14:52 +01:00
Isaac
fd2ab55a13
Added translation using Weblate (French) 2023-02-03 17:24:18 +01:00
Isaac
9fc1130c4c
fix: update cache when tags are updated 2023-02-02 20:45:18 +00:00
Isaac
12c741b255
fix: settings 2023-02-02 16:11:10 +00:00
Isaac
5a2106caa4
fix: http, improve env 2023-02-01 21:19:48 +00:00
Isaac
bcf474cc1c
fix: use environment variables 2023-01-31 15:18:40 +00:00
Isaac
9e4f532ae8
fix: listen on 0.0.0.0 2023-01-31 12:53:22 +00:00
Isaac
457ede3ac7
fix: don't allow removing the creator 2023-01-30 20:50:38 +00:00
Isaac
bb3179f28f
minor improvements 2023-01-30 17:10:02 +00:00
Isaac
5579362f26
feat: DM on close (fixes #338)
A very basic message to notify the user of the ticket closure
2023-01-30 16:58:36 +00:00
Isaac
d1c3620fcd
fix: ticket closing 2023-01-30 15:56:41 +00:00
Isaac
a60c998605
fix: message logging 2023-01-30 12:49:15 +00:00
Isaac
2a8c1603f2
more on closing and feedback (WIP) 2023-01-13 22:25:19 +00:00
Isaac
8bf01aa520
feat: feedback, start of close requests 2023-01-13 20:48:37 +00:00
Isaac
d7e1b05586
perf: cache staff roles 2023-01-12 17:20:21 +00:00
Isaac
db94ab770d
perf: cache tags 2023-01-12 17:19:03 +00:00
Isaac
cf6b34785c
fix: new line replacement 2023-01-03 16:59:26 +00:00
Isaac
4dbbba6c0b
feat: include category name in transcripts 2023-01-03 16:51:11 +00:00
Isaac
0fa45e3e50
fix: don't fetch partial messages on delete 2023-01-02 13:27:20 +00:00
Isaac
813beb44a0
feat: close tickets on channel delete 2023-01-02 13:27:02 +00:00
Isaac
a10a1663a3
SelectMenu -> StringSelectMenu 2023-01-02 12:23:14 +00:00
Isaac
7c011fbf9d
Update dependencies 2023-01-02 12:21:37 +00:00
Isaac
e105f0c34c
update logger 2022-11-01 21:10:57 +00:00
Isaac
14df0637ae
Improve errors 2022-10-31 21:19:29 +00:00
Isaac
9f18958c75
feat: add /move command 2022-10-31 21:15:44 +00:00
Isaac
d10965d541
fix typo 2022-10-31 15:36:35 +00:00
Isaac
b61b3dd2b1
Respond with error messages
instead of giving the user no information.
2022-10-31 15:35:41 +00:00
Isaac
76ed77fe0c
fix: typo 2022-10-31 14:17:59 +00:00
Isaac
4f0e91f269
integrated portal 2022-10-31 13:45:49 +00:00
Isaac
4b40f2cdbd
feat: add /transfer command 2022-10-29 19:59:09 +01:00
Isaac
26ab229c97
feat: add target ID 2022-10-29 00:54:38 +01:00
Isaac
1ecb6f5d32
fix: typo 2022-10-29 00:54:19 +01:00
Isaac
77216ba43d
feat: add ticket claiming 2022-10-29 00:33:19 +01:00
Isaac
15318df9e4
feat: /add and /remove commands 2022-10-28 17:32:43 +01:00
Isaac
1843400004
refactor: simplify commands i18n 2022-10-26 18:58:46 +01:00
Isaac
c6f1261478
feat: add /tickets command 2022-10-26 14:13:45 +01:00
Isaac
119f997ffe
fix: unnecessary message update logs 2022-10-26 11:34:55 +01:00
Isaac
9a916339ef
fix: only allow /topic in tickets 2022-10-26 10:26:43 +01:00
Isaac
72e264d04c
feat: add help hint for invalid stdin commands 2022-10-26 01:06:26 +01:00
Isaac
7417005782
perf: reduce database data transfer 2022-10-26 00:46:07 +01:00
Isaac
09095f71c1
perf: improve ticket/references autocompleters (and de-duplicate) 2022-10-26 00:41:40 +01:00
Isaac
f27feea2f9
feat: add /topic command 2022-10-25 22:56:13 +01:00
Isaac
30883032b7
fix(archives): role and member bug 2022-10-25 22:55:53 +01:00
Isaac
7812e62776
fix(logging): don't send empty changelogs
The previous fix didn't work because `{}` is true, not false as expected.
2022-10-25 22:53:12 +01:00
Isaac
066eb954e3
feat(archives): update transcript template
so it can actually be parsed as markdown if wanted
2022-10-24 23:53:42 +01:00
Isaac
92d5a7ed96
feat(archives): add transcript command 2022-10-24 20:17:40 +01:00
Isaac
7864c8d544
fix(logging): don't send empty changelogs 2022-10-24 20:16:56 +01:00
Isaac
0436952327
fix(logging): ignore ephemeral message updates 2022-10-24 18:24:53 +01:00
Isaac
ecd23a150a
refactor: remove cryptr prefix 2022-10-24 17:44:07 +01:00
Isaac
bb4f872c41
Archive & log message updates/deletes 2022-10-18 17:25:45 +01:00
Isaac
59c6ab3537
Make /tag and auto tag replies work
(very cool)
2022-10-18 16:39:03 +01:00
Isaac
8176293089
Add category option for closing multiple tickets 2022-10-16 14:16:38 +01:00
Isaac
9b0a1fe50f
Add new /transfer (ownership) command 2022-10-16 14:11:40 +01:00
Isaac
5b95610338
rename /transfer back to /move 2022-10-16 14:07:10 +01:00
Isaac
33d61869d8
Fix ticket and references autocompleters 2022-10-11 21:28:53 +01:00
Isaac
83ab003db5
fix command options & types
and start on closing
2022-10-11 21:24:09 +01:00
Isaac
4469aa4920
fix referencing messages 2022-10-11 20:12:40 +01:00
Isaac
f7b5031aab
Add message reference (for replies) to archives 2022-10-11 18:58:02 +01:00
Isaac
54506cf422
fix embeds 2022-10-11 18:49:39 +01:00