Commit Graph

345 Commits

Author SHA1 Message Date
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
Isaac
8a15f34342
Make @davidjcralph happy
const
2021-05-18 18:12:07 +01:00
Isaac
37adac1dd0
"help" command 2021-05-17 21:16:58 +01:00
Isaac
98c986e715
Separate schema 2021-05-17 21:05:06 +01:00
Isaac
6a978aa025
Settings validation 2021-05-17 20:24:00 +01:00
Isaac
950f448543
Improve JSDoc types 2021-05-17 18:13:55 +01:00
Isaac
448a1e793f
"stats" command 2021-05-17 00:04:14 +01:00
Isaac
ceac5801fd
"topic" command 2021-05-16 21:31:23 +01:00
Isaac
82473db65c
"remove" command 2021-05-16 19:48:02 +01:00
Isaac
d2034c5a14
New Crowdin updates (#150)
* 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-16 18:38:24 +01:00
Isaac
2fd18218e2
"add" command 2021-05-16 18:37:08 +01:00