Commit Graph

400 Commits

Author SHA1 Message Date
Isaac
e65405c183 Add logging 2022-05-06 00:12:38 +01:00
Isaac
11ec090ab6 Start on API 2022-05-06 00:01:19 +01:00
Isaac
a37d5e7613 First command 2022-05-05 21:47:08 +01:00
Isaac
cbfbf05e8c mjs -> cjs 2022-05-05 21:29:28 +01:00
Isaac
88782ec1a5 Finish database schema 2022-03-22 22:05:22 +00:00
Isaac
e569642240 Start on database schema 2022-03-21 23:28:20 +00:00
Isaac
5ae4da227e Entrypoint, env and config etc 2022-03-18 16:27:32 +00:00
Isaac
83e7ff6019 Reset for new version 2022-03-11 21:09:17 +00:00
Multi
aa50daa3a7
Update Spanish translations (#275) 2022-02-25 15:36:32 +00:00
Justin Nogossek
5436b84617
feat(translations): update Chinese (Traditional) translation
Currently translated at 99.6% (273 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2022-02-24 15:35:12 +00:00
Justin Nogossek
3a01ecad24
feat(translations): update Vietnamese translation
Currently translated at 43.0% (118 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/vi/
2022-02-24 15:35:12 +00:00
Justin Nogossek
07d5e89673
feat(translations): update German translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-02-24 15:35:12 +00:00
Ari Horesh
6c8d77624c
feat(translations): update Hebrew (Israel) translation
Currently translated at 19.3% (53 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/he_IL/
2022-02-23 07:45:29 +00:00
Excelsior
eb2add7ac6
style: Typo fix (#274)
* Fix typo

* Fixed typo

For stats cmd, TIckets to Tickets
2022-02-23 07:45:26 +00:00
Ari Horesh
453f4c74c3
feat(translations): update Hebrew (Israel) translation
Currently translated at 14.2% (39 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/he_IL/
2022-02-19 21:35:10 +00:00
Isaac
a875e1521d
feat(translations): add Hebrew (Israel) translation 2022-02-18 20:40:32 +00:00
Justin Nogossek
4ddf77bd22
feat(translations): update German translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-02-06 11:52:23 +00:00
Justin Nogossek
7bf6689616
feat(translations): update English (United Kingdom) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/en_GB/
2022-02-06 11:52:22 +00:00
Justin Nogossek
2f54e1ac19
feat(translations): update German translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-02-05 18:35:05 +00:00
Isaac
1698bbcca6
feat(translations): update Dutch translation
Currently translated at 61.3% (168 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/nl/
2022-02-02 22:35:03 +00:00
Windless
401a854135
feat(translations): update Chinese (Simplified) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hans/
2022-01-26 07:35:04 +00:00
Windless
4c01e3dec8
feat(translations): update Chinese (Traditional) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2022-01-25 07:13:27 +00:00
Windless
e768f2f12e
feat(translations): add Chinese (Simplified) translation 2022-01-25 07:10:31 +00:00
Windless
07e41d6946
feat(translations): update Chinese (Traditional) translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2022-01-25 07:01:50 +00:00
Oliwier Thomas
3c3b7ec63e
feat(translations): update Polish translation
Currently translated at 50.0% (137 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pl/
2022-01-21 12:52:57 +00:00
Jonas W
30bd6f0238
feat(translations): update German translation
Currently translated at 58.0% (159 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2022-01-11 14:34:52 +00:00
Emma Johnson
afe84acc9d
Fix some language errors lmfao (#258) 2021-12-27 16:19:57 +00:00
林奈柔
81766857b3
feat(translations): update Chinese (Traditional) translation
Currently translated at 1.0% (3 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/zh_Hant/
2021-12-11 04:21:56 +00:00
林奈柔
d686bf334f
feat(translations): add Chinese (Traditional) translation 2021-12-10 03:40:55 +00:00
Iris
7903cdbea0
feat(translations): update French translation
Currently translated at 90.5% (248 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/fr/
2021-12-01 22:21:54 +00:00
Seya
d72b51ae9e
feat(translations): update Korean translation
Currently translated at 49.2% (135 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/ko/
2021-11-21 12:21:47 +00:00
Bruno Babica
fdaeee9a7c
feat(translations): update Czech translation
Currently translated at 50.7% (139 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/cs/
2021-11-16 20:21:45 +00:00
PierreG
f3ac834263
feat(translations): update French translation
Currently translated at 56.2% (154 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/fr/
2021-11-15 06:21:45 +00:00
Alejandro Q
09510512b3
feat(translations): update Spanish translation
Currently translated at 61.3% (168 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-11-15 06:21:45 +00:00
Ismael Maneh
697a1be7ae
feat(translations): update Spanish translation
Currently translated at 61.3% (168 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-11-15 06:21:45 +00:00
Filip
9ba39174d8
feat(translations): update Czech translation
Currently translated at 48.1% (132 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/cs/
2021-11-01 18:21:39 +00:00
Lennard
a3e7ffc247
feat(translations): update German translation
Currently translated at 54.3% (149 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-10-27 20:21:37 +00:00
Isaac
f49a044340
Revert "Merge remote-tracking branch 'origin/main' into main"
This reverts commit feb116b4df.
2021-10-26 23:35:18 +01:00
Isaac
e38b66e4dd
fix: problem caused by previous #250 fix 2021-10-26 20:27:42 +01:00
Isaac
f8121771f7
Merge remote-tracking branch 'origin/main' into main 2021-10-26 16:59:19 +01:00
Isaac
7411fb9c39
fix(settings): role ID parsing
Fixes Discord's dumb `,` problem and also allows writing something like `none` to clear the array
2021-10-26 16:59:14 +01:00
Isaac
d3ed6405db
fix: #250 by deferring then editing the reply 2021-10-26 16:58:06 +01:00
MAXOUXAX
092922bb54
feat(translations): update French translation
Currently translated at 54.3% (149 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/fr/
2021-10-19 20:13:59 +00:00
Steven Schröter
5431ea8afa
feat(translations): update German translation
Currently translated at 50.0% (137 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-10-19 20:13:58 +00:00
time
7302be78a6
feat(translations): update Vietnamese translation
Currently translated at 43.7% (120 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/vi/
2021-10-16 15:27:44 +00:00
time
83dab799ec
feat(translations): update Vietnamese translation
Currently translated at 17.1% (47 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/vi/
2021-10-15 10:27:42 +00:00
time
6b9c54cadf
feat(translations): add Vietnamese translation 2021-10-14 09:10:47 +00:00
Benke Tamás
f4e7077358
feat(translations): update Hungarian translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-08 20:21:12 +00:00
notninelel
8ddfc3f32e
feat(translations): update Thai translation
Currently translated at 52.1% (143 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/th/
2021-10-08 20:21:12 +00:00
Emil Nielsen
ea38a3652f
feat(translations): update Danish translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-08 20:21:11 +00:00
Emil Nielsen
e94c999705
feat(translations): update Danish translation
Currently translated at 100.0% (274 of 274 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-07 16:01:20 +00:00
Isaac
678e9413a6
chore: remove bad upgrade code 2021-10-07 13:59:54 +01:00
Isaac
dae9a8c0d0
fix: convert surveys to buttons 2021-10-07 12:21:44 +01:00
Isaac
c607771c9e
fix: creating multi-category panels in non-english locales
The Discord client replaces `,` with `.` in some locales (why!!?). This removes the requirement for category IDs to be separated by commas.
2021-10-07 11:49:07 +01:00
Isaac
4146665e13
Merge remote-tracking branch 'origin/main' into main 2021-10-07 11:28:01 +01:00
Isaac
09d9c4d5a2
fix: new lines in opening message and panels 2021-10-07 11:27:54 +01:00
Isaac
eb964ab85b
fix: setting opening questions 2021-10-07 11:27:31 +01:00
Benke Tamás
09f594ef08
feat(translations): update Hungarian translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-07 10:10:18 +00:00
Emil Nielsen
90fa8883dc
feat(translations): update Danish translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-07 10:10:18 +00:00
Isaac
6d21838f7f
fix: tag command errors 2021-10-07 11:10:06 +01:00
Isaac
c3ac408733
fix: anyone being able to close any ticket 2021-10-07 11:09:53 +01:00
Benke Tamás
150e9d5393
feat(translations): update Hungarian translation
Currently translated at 49.6% (133 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-05 19:58:30 +00:00
Emil Nielsen
78a539d376
feat(translations): update Danish translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/da/
2021-10-05 19:58:28 +00:00
Almos
6ea9302e46
feat(translations): update Hungarian translation
Currently translated at 16.0% (43 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-10-02 17:35:55 +00:00
Alejandro Q
18108896e8
feat(translations): update Spanish translation
Currently translated at 60.4% (162 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-10-01 00:35:54 +00:00
Weblate
814a4431fc
feat(translations): update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-27 17:35:59 +00:00
Pedro Miguel Trindade dos Santos
55e1e310c5
feat(translations): update Portuguese translation
Currently translated at 100.0% (268 of 268 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt/
2021-09-27 17:35:57 +00:00
Isaac
17f3b601bd
fix: disable altering tables when syncing tables 2021-09-25 23:36:58 +01:00
Isaac
1da289185b
fix: tag command
when there is no subcommand line 42 generates an error
2021-09-25 18:39:14 +01:00
Isaac
a90f4eba2d
fix: error when opening a ticket
...when neither claiming nor close button are enabled
2021-09-25 18:38:12 +01:00
Weblate
0d795152c1
feat(translations): update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-24 23:05:46 +00:00
Isaac
5acdf3b4c0
v3.1 2021-09-25 00:05:39 +01:00
Weblate
b9b8a84831
feat(translations): update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-24 19:18:47 +00:00
Weblate
949438ae78
feat(translations): update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-24 18:45:36 +00:00
Weblate
ca899692a4
feat(translations): update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-24 18:40:08 +00:00
Isaac
dc0ac88fa7
feat: upgrade script 2021-09-24 19:39:58 +01:00
Isaac
95f76716ed
feat: #206 convert to interactions (buttons and application commands) (#238)
* feat: make command handler slash command-ready

Only `help` and `settings` commands work so far

* feat(commands): finish new settings command

* fix(settings): convert `roles` and `ping` to an array

* fix(commands): make `add` a slash command

* fix(commands): make `blacklist` a slash command

* fix(commands): remove URLs from `help` command

* Add weblate badge and overview image

* Update sponsors

* sqlite things

* imrpovements

* update eslint rules

* (⚠ untested) close command

* fix: default locale for getting command option names

* Update README.md

* Update README.md

* Update README.md

* update new command to slash commands and fix close command

* fixes and improvements

* fix: closing a ticket when the creator has left

* Revert "fix: closing a ticket when the creator has left"

This reverts commit afc40ae17077782e344fd8cee03a089966c2347e.

* fix: closing a ticket when the creator has left

* fix: localisation issues in settings command

* fix: delete category channel

* New button and select panels + updated message panels

Includes new options for panel embed message image and thumbnail

Co-Authored-By: Puneet Gopinath <baalkrshna@gmail.com>
Co-Authored-By: thevisuales <6569806+thevisuales@users.noreply.github.com>

* Finish converting to buttons, added close button

Co-Authored-By: Puneet Gopinath <baalkrshna@gmail.com>
Co-Authored-By: thevisuales <6569806+thevisuales@users.noreply.github.com>

* fully convert to slash commands

* re-add "... has created a ticket" message

* locales

* fix add and remove commands

* fix remove command

* fix stats command

* eslint

Co-authored-by: Puneet Gopinath <baalkrshna@gmail.com>
Co-authored-by: thevisuales <6569806+thevisuales@users.noreply.github.com>
2021-09-24 15:32:36 +01:00
Kriiiiiiiz
a64fae11b5
Update es-ES.json (#236)
* Update es-ES.json

This lang file looks like was translated with google translator, also I've changed some misspelled words, now should be ok.

* fix indentation

Co-authored-by: Isaac <git@eartharoid.me>
2021-09-22 21:17:35 +01:00
Benke Tamás
078701d6c3
feat(translations): update Hungarian translation
Currently translated at 32.0% (73 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/hu/
2021-09-19 10:12:38 +00:00
Philip Z
bc9dd96883
feat(translations): update German translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-09-19 10:12:37 +00:00
Benke Tamás
ad24ad3ef2
feat(translations): add Hungarian translation 2021-09-18 09:01:50 +00:00
Philip Z
88f1a0f6b3
feat(translations): update German translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-09-13 22:12:41 +00:00
Ahmed Khaled
53d6d9fa5a
feat(translations): update Arabic translation
Currently translated at 1.7% (4 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/ar/
2021-09-13 22:12:41 +00:00
Pedro Miguel Trindade dos Santos
7f9b6dbb97
feat(translations): update Portuguese translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt/
2021-09-13 22:12:40 +00:00
Isaac
b06d6451ab
feat(translations): update English (United States) translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/en_US/
2021-09-13 22:12:35 +00:00
Gustavo Vieira Gomes Reis
edc6b1c599
feat(translations): update Portuguese (Brazil) translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt_BR/
2021-09-13 22:12:35 +00:00
Isaac
1e4b2a2842
feat(translations): update German translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-09-12 21:42:31 +00:00
Philip Z
f18e8909b4
feat(translations): update German translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/de/
2021-09-12 21:42:29 +00:00
Ahmed Khaled
574232ec45
feat(translations): add Arabic translation 2021-09-12 16:26:23 +00:00
Isaac
673414430f
feat(translations): update Portuguese (Brazil) translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt_BR/
2021-09-12 16:12:38 +00:00
Pedro Miguel Trindade dos Santos
e10823e323
feat(translations): update Portuguese (Brazil) translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt_BR/
2021-09-12 16:12:36 +00:00
Gustavo Vieira Gomes Reis
830f947df7
feat(translations): update Portuguese (Brazil) translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt_BR/
2021-09-12 16:12:34 +00:00
Pedro Miguel Trindade dos Santos
f2f2eac99c
feat(translations): add Portuguese translation 2021-09-12 13:25:01 +00:00
Pedro Miguel Trindade dos Santos
3c73043523
feat(translations): update Portuguese (Brazil) translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/pt_BR/
2021-09-11 18:25:50 +00:00
Samuel Vásquez
35e9806b4a
feat(translations): update Spanish translation
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/es/
2021-09-10 18:41:10 +00:00
Allan Nordhøy
ba8f02fc1c feat(translations): Update Norwegian Bokmål translation
Currently translated at 99.1% (226 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/nb_NO/
2021-09-10 15:37:40 +00:00
Isaac
559d1ffeef Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (228 of 228 strings)

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/en_GB/
2021-09-09 21:53:04 +00:00
Weblate
3549c7f10c Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Discord Tickets/Bot
Translate-URL: http://i18n.capestar.net/projects/discord-tickets/bot/
2021-09-09 21:25:04 +00:00
Isaac
8cd93df4dc
Add text transcripts plugin 2021-08-28 21:50:44 +01:00
Isaac
0efee8ef15
New Crowdin updates (#221)
* New translations en-GB.json (Czech)

* New translations en-GB.json (German)
2021-08-27 22:10:08 +01:00