Commit Graph

655 Commits

Author SHA1 Message Date
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
Marius
2bb9873be8
Rename trasnfer.js to transfer.js (#349) 2022-10-10 21:44:07 +01:00
Isaac
e4b104eb7e
👌 2022-10-10 20:14:00 +01:00
Isaac
6f535e7149
help 2022-10-10 15:44:13 +01:00
Isaac
35ad490ba6
improve error handling 2022-10-10 12:49:34 +01:00
Isaac
fbc2b8c6b9
stdin help 2022-10-06 14:39:37 +01:00
Isaac
507e963efc
update /force-close options 2022-10-06 12:49:38 +01:00
Isaac
52d880a038
disable warnings 2022-10-05 19:55:52 +01:00
Isaac
525e752833
speed 2022-10-05 19:55:08 +01:00
Isaac
b4238e26a1
fixes 2022-10-05 18:26:20 +01:00
Isaac
fad1abf579
log ticket update 2022-10-05 18:21:53 +01:00
Isaac
3f8663675d
remove bad code 2022-10-05 18:17:13 +01:00
Isaac
6c49544e7a
count user messages 2022-10-05 18:15:53 +01:00
Isaac
8ea372ea36
Add /priority command 2022-10-05 18:04:29 +01:00
Isaac
8b55c351ad
why 2022-10-05 17:09:08 +01:00
Isaac
c2fe7f73d1
env 2022-10-05 00:35:54 +01:00
Isaac
bf4d17bd42
bug fixes 2022-10-04 21:23:01 +01:00
Isaac
74c0fd0fd1
fix auto complete 2022-10-04 20:54:48 +01:00
Isaac
96ec85f14a
Add ticket first response 2022-09-30 21:26:29 +01:00
David Ralph
ce6e2b7d8f
optimise by removing unneeded modules and replacing with built-in methods (#344) 2022-09-30 19:21:59 +01:00
Isaac
460138fb73
Progress on message archiving 2022-09-30 17:09:35 +01:00
Isaac
9682fcf22b
trust proxy 2022-09-30 16:58:31 +01:00
Isaac
8e0d9a6a5d
Add sync stdin command 2022-09-30 16:05:28 +01:00
Isaac
10ef6bb617
Add pin command 2022-09-29 16:08:46 +01:00
Isaac
9d46abcbb3
Improve logging 2022-09-26 16:39:32 +01:00
Isaac
7eabce1a83
Add stats posting 2022-09-11 21:11:12 +01:00
Isaac
94c6fc21e7
Question answer & topic encryption 2022-09-11 19:46:53 +01:00
Isaac
98c6f7a445
fix http logging spam, and login loop 2022-09-07 22:15:46 +01:00
Isaac
be0795cde0
Settings reverse proxy (doesn't work) 2022-09-07 21:24:16 +01:00
Isaac
fdce924b22
Complete settings integration 2022-09-06 20:46:18 +01:00
Isaac
c101562dcc
Integrate settings UI 2022-09-06 20:30:28 +01:00
Isaac
98dca5b974
fix edit topic log 2022-09-06 00:19:23 +01:00
Isaac
75be93db77
. 2022-09-06 00:19:23 +01:00
Isaac
b1965909e6
Fix env
`PUBLIC` is a path to the Public user dir on Windows, and !! does not convert a string to a boolean as expected
2022-09-05 12:52:26 +01:00
Isaac
34a4e071b5
Make edit button work 2022-09-05 12:43:27 +01:00
Isaac
44ee84d8f7
Added more logging 2022-09-04 21:20:24 +01:00
Isaac
bae6af96f7
Add exit stdin command 2022-09-04 21:08:36 +01:00
Isaac
84505c2a5f
Add for option to /tag command 2022-09-04 21:04:05 +01:00
Isaac
956648c265
Update ticket autocompleter 2022-09-04 21:00:18 +01:00
Isaac
3697423fda
Fix sqlite middleware 2022-09-04 19:55:32 +01:00
Isaac
f74069deb6
fix: API not working on Windows 2022-08-25 23:35:17 +01:00
Isaac
07af37b4a2
Improve option format 2022-08-17 20:41:51 +01:00
Isaac
4c176d082f
#303 and other stuff 2022-08-13 23:58:41 +01:00
Isaac
c64b18a397
Add message and ticket referencing, fixes 2022-08-13 23:01:44 +01:00
Isaac
f6666b103e
fix DM 2022-08-13 00:21:03 +01:00
Isaac
975d30c261
😭 2022-08-12 23:31:02 +01:00
Isaac
a190c1ac27
Finish pre-open checks, reduce database reads with more caching 2022-08-11 22:59:50 +01:00
Isaac
c6abefe30d
Rename move command to transfer 2022-08-10 19:50:19 +01:00
Isaac
0bc02e808a
Use SQL sort 2022-08-09 22:47:24 +01:00
Isaac
1992072493
Add other checks 2022-08-09 01:19:03 +01:00
Isaac
913465a165
Implement required roles 2022-08-09 00:21:15 +01:00
Isaac
53f00b715b
Implement blocklist 2022-08-09 00:09:28 +01:00
Isaac
5ed394f5c2
fix 2022-08-08 23:43:22 +01:00
Isaac
25d70630a7
Add ticket logging & minor fixes 2022-08-08 23:37:47 +01:00
Isaac
80399cd294
Fix Discord's UI problem 2022-08-08 23:36:45 +01:00
Isaac
f419cbf967
Fix schema issues 2022-08-08 22:38:54 +01:00
Isaac
bc3ccdcb82
ticket creation works 2022-08-08 21:55:09 +01:00
Isaac
01e479dab5
Make progress on ticket creations + fixes 2022-08-08 01:36:14 +01:00
Isaac
fcd390bc9d
Fix DM 2022-08-06 22:55:36 +01:00
Isaac
ae72266b82
Ticket creation rate limiting + fixes 2022-08-06 22:50:28 +01:00
Isaac
efe7ede041
Make sure category hasn't been deleted 2022-08-06 21:58:02 +01:00
Isaac
0a10d91f8d
Closes #288 2022-08-06 21:52:08 +01:00
Isaac
7b692facc1
Add category cache 2022-08-06 21:35:42 +01:00
Isaac
3318ddcaa6
Add presence & placeholders (closes #302) 2022-08-06 21:07:40 +01:00
Isaac
052c159157
start making things 2022-08-05 22:21:55 +01:00
Isaac
cdb8fa04c4
Closes #321 2022-08-05 14:01:19 +01:00
Isaac
954681685a
Add move command 2022-08-02 21:29:44 +01:00
Isaac
b4618aac1b
Create commands 2022-08-02 21:13:32 +01:00
Isaac
e28392352c
Add autocomplete, button, menu, and modal files 2022-08-02 18:03:55 +01:00
Isaac
327573a38a
Add application commands publishing 2022-08-02 17:32:55 +01:00
Isaac
aa51cd0554
Update to @eartharoid/dbf@0.3 2022-08-02 17:25:53 +01:00
Isaac
31635cc7cb
Fix tags 2022-07-25 00:25:26 +01:00
Isaac
5f5ffca74c
Finally "fix" (hack) Prisma middleware bug
Middleware runs twice on question upsert?
2022-07-23 20:28:48 +01:00
Isaac
3de9cd8c3a
Add support for SQLite and PostgreSQL. Also add/fix encryption...
...for a smaller number of fields
2022-07-23 01:44:03 +01:00
Isaac
08e757febf
Add logout & tags endpoints 2022-07-23 01:13:25 +01:00
Isaac
cc97a58165
Select menu question type and finally fix logging diff 2022-07-22 00:17:07 +01:00
Isaac
3a9483dbfb
Remove CONFIG_PATH env var 2022-07-21 14:30:03 +01:00
Isaac
f93d058f55
Panels! 2022-07-21 01:25:37 +01:00
Isaac
98b35e3a81
Finish questions 2022-07-19 22:34:45 +01:00
Isaac
5786c3598d Giving up on encryption
and life
2022-07-19 15:57:19 +01:00
Isaac
28f1e85759 More fixes 2022-07-18 21:53:17 +01:00
Isaac
3a1c0f54bd Node v18, discord.js v14 2022-07-18 13:34:29 +01:00
Isaac
c04787bb80 don't create a new category again 2022-07-17 23:05:12 +01:00
Isaac
4a48ba635a Fix everything (db/encryption, logging etc) 2022-07-17 23:01:00 +01:00
Isaac
24d5e6d99d Fixes and stuff 2022-07-17 22:33:42 +01:00
Isaac
3aa9a9b2c6 Encryption/schema fixes 2022-07-17 19:00:12 +01:00
Isaac
3e3ac50f08 Fix diff 2022-07-17 18:59:58 +01:00
Isaac
5aac998bee new log diff 2022-07-17 14:13:44 +01:00
Isaac
79462e83e6 Settings, encryption, logging 2022-07-16 22:18:50 +01:00
Isaac
97623f3203 Changes 2022-07-15 23:19:42 +01:00
Isaac
145514a86b Add DELETE guild settings route
For completely resetting a guild
2022-05-07 21:28:33 +01:00
Isaac
41ccd778c6 Add GET & POST guild categories routes 2022-05-07 21:16:18 +01:00
Isaac
66b46cf3e2 Add PATCH guild settings route 2022-05-07 18:46:19 +01:00
Isaac
cb4013337f Add GET guild settings route 2022-05-07 18:41:39 +01:00
Isaac
c082552fae Update guilds route 2022-05-07 18:28:38 +01:00
Isaac
ad9bd98933 Add user route 2022-05-07 18:28:22 +01:00
Isaac
a1823a750e Add authentication 2022-05-06 21:17:53 +01:00
Isaac
425e7ab151 en-GB 2022-05-06 11:09:56 +01:00
Isaac
b89328125a prisma 2022-05-06 00:27:27 +01:00
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
Isaac
565ca30ebe
feat: new stats api 2021-08-17 00:09:41 +01:00
Isaac
9363c74ae3
refactor: improve code readability 2021-08-17 00:09:07 +01:00
Isaac
d4d60123cb
fix: update logger dependency 2021-08-16 22:32:28 +01:00
Puneet Gopinath
0f10908ee0
refactor: update to discord.js v13 (#203)
* build: bump djs version

* refactor(add): update

* refactor(blacklist): update

* refactor(close): update

* refactor(help): update

* refactor(new): update

* refactor(panel): update

* refactor(remove): update

* refactor(stats): update

* refactor(survey): update

* refactor(tag): update

* refactor(topic): update

* refactor(guild): update, now Structures doesn't exist

Also I don't know if this would work actually, let's see

* refactor(guild_member)

* refactor(index.js): add intents

I can't understand how you do the indentation, sorry if I made a mistake

* Update package.json

* fix(intents): add `DIRECT_MESSAGES` intents


- also fix code style and indentation

* style: fix properties order and indentation

* fix(guild)

* Update and rename message.js to messageCreate.js

* Update guild.js

* refactor(manager): fix

* Update manager.js

* fix(help)

* style: fix spacing

* fix: permission overwrites

* fix(new)

* fix(presence): rename activity to activities

* fix(presence): fix debug message

* fix: update channel types

* Update new.js

* fix(embeds): update footer function

* fix: broken code

* style: add new lines around embed blocks

* fix(messages): update remaining `send()` calls

* fix(messages): i missed one

* build: replace fastify logger with standard logger

* refactor: update message and reaction collectors

Co-authored-by: Isaac <git@eartharoid.me>
2021-08-16 21:05:20 +01:00
Isaac
96d1ddc48c
refactor: update node version check 2021-08-16 15:04:13 +01:00
Isaac
7adc2fcae6
refactor(listeners): improve code readability 2021-08-16 14:32:02 +01:00
Isaac
4c39dca8ef
New Crowdin updates (#186)
* New translations en-GB.json (French)

* New translations en-GB.json (French)

* New translations en-GB.json (German)

* New translations en-GB.json (Korean)

* New translations en-GB.json (Korean)

* New translations en-GB.json (Czech)

* New translations en-GB.json (Czech)

* New translations en-GB.json (Polish)

* New translations en-GB.json (Korean)

* New translations en-GB.json (Czech)
2021-08-15 22:32:36 +01:00
Isaac
9a53c17704
Update banner.js 2021-07-26 13:21:12 +01:00
Isaac
b349cf7eb9
New Crowdin updates (#178)
* New translations en-GB.json (Dutch)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (Thai)

* New translations en-GB.json (Thai)

* New translations en-GB.json (Thai)
2021-07-12 17:25:06 +01:00
Isaac
6f8d86854c
New Crowdin updates (#176)
* New translations en-GB.json (Hindi)

* New translations en-GB.json (Dutch)

* New translations en-GB.json (Dutch)

* New translations en-GB.json (Dutch)

* New translations en-GB.json (Dutch)
2021-06-22 20:56:56 +01:00
Isaac
59f3ba4e46
New Crowdin updates (#168)
* New translations en-GB.json (Italian)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (German)
2021-06-14 09:09:49 +01:00
Isaac
85285f495b
fix: ensure bot is given correct permissions
Ensure the bot has the required permissions in the panel channel.
2021-06-07 19:47:01 +01:00
Isaac
609a996d57
fix: error in dialects 2021-05-31 23:10:00 +01:00
Isaac
c6d56afa11
Parse JSON if value is string 2021-05-30 21:14:16 +01:00
Isaac
f7cd3e85e5
New Crowdin updates (#159)
* New translations en-GB.json (Danish)

* New translations en-GB.json (Danish)
2021-05-30 20:43:31 +01:00
Isaac
461d535102
Database improvements 2021-05-30 20:39:14 +01:00
Isaac
c91a8c5b0c
Merge remote-tracking branch 'origin/main' into main 2021-05-30 18:38:06 +01:00
Isaac
a80c739171
Change opening_message column type 2021-05-30 18:38:00 +01:00
Isaac
452d9d8029
New Crowdin updates (#158)
* New translations en-GB.json (Spanish)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (English, United States)
2021-05-30 18:12:42 +01:00
Isaac
bdd172ea1c
Parse JSON if its a string 2021-05-30 18:09:28 +01:00
Isaac
e027e1ef84
Fix space in help command 2021-05-30 18:09:09 +01:00
Isaac
5f5970b5bf
Merge remote-tracking branch 'origin/main' into main 2021-05-30 18:05:11 +01:00
Isaac
2b5e4a27bb
Move blacklist check to after command stuff 2021-05-30 18:05:05 +01:00
Isaac
5436df5c43
Update guild.model.js 2021-05-30 14:16:17 +01:00
Isaac
0e881b85f6
Fix help command 2021-05-30 11:38:34 +01:00
Isaac
2f98274e35
Merge remote-tracking branch 'origin/main' into main 2021-05-29 18:03:30 +01:00
Isaac
4d26141c96
Fix URLs 2021-05-29 18:03:26 +01:00
Isaac
938117d1f0
New Crowdin updates (#157)
* New translations en-GB.json (French)

* New translations en-GB.json (French)
2021-05-28 01:38:26 +01:00
Isaac
92b38427f4
New Crowdin updates (#156)
* New translations en-GB.json (Italian)

* New translations en-GB.json (French)
2021-05-24 15:54:49 +01:00
Isaac
d6af89f4c2
New translations en-GB.json (Italian) (#155) 2021-05-22 22:15:33 +01:00
Isaac
c7ec1bba1a
Remove "opening_message" from required 2021-05-22 19:11:43 +01:00
Isaac
32f43ac18f
Linting 2021-05-22 00:04:18 +01:00
Isaac
777719d1b3
Fix settings 2021-05-21 21:15:54 +01:00
Isaac
c70c9b2494
Guild settings 2021-05-21 19:58:41 +01:00
Isaac
be462cea1d
Fix help command permission filtering 2021-05-21 19:51:38 +01:00
Isaac
f2a706aa95
:) 2021-05-20 15:31:44 +01:00
Isaac
4651650fdf
New Crowdin updates (#154)
* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)
2021-05-19 17:09:07 +01:00
Isaac
b86b50a71a
Fix minifying 2021-05-19 15:25:42 +01:00
Isaac
20ac8bff73
Survey responses!
and some small changes/fixes
2021-05-19 15:24:02 +01:00
Isaac
053fcdb4b8
Fix bug with empty topics 2021-05-18 23:07:38 +01:00
Isaac
4ebdd32512
Merge remote-tracking branch 'origin/master' 2021-05-18 23:02:56 +01:00
Isaac
7255e76206
Make tags staff-only 2021-05-18 23:02:51 +01:00
Isaac
8c8bd54e9f
New Crowdin updates (#151)
* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (French)

* New translations en-GB.json (Spanish)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* New translations en-GB.json (English, United States)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Portuguese, Brazilian)
2021-05-18 22:39:16 +01:00
Isaac
c03a32dbb4
FAQs/tags/canned responses 2021-05-18 22:08:49 +01:00
Isaac
f40fabfbf3
Improve JSDoc 2021-05-18 20:35:39 +01:00