Commit Graph

474 Commits

Author SHA1 Message Date
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
Isaac
002240d777
Send the embed in the same message as the ping 2021-05-16 18:18:41 +01:00
Isaac
b11d79e370
don't try to remove the reaction 2021-05-16 17:41:46 +01:00
Isaac
c5b8ff0a07
transactions 2021-05-16 17:41:30 +01:00
Isaac
35d4a73c4d
New Crowdin updates (#149)
* New translations en-GB.json (Czech)

* New translations en-GB.json (Czech)

* New translations en-GB.json (German)

* 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 (Russian)

* 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 15:41:35 +01:00
Isaac
2ca83c3146
Add commands 2021-05-16 15:11:24 +01:00
Isaac
88bc1c84ac
Remove unnecessary function 2021-05-16 14:46:54 +01:00
Isaac
ceffcecb9a
Store avatar hash instead of url 2021-05-16 14:46:38 +01:00
Isaac
87aaa99125
Merge remote-tracking branch 'origin/master' 2021-05-15 23:06:35 +01:00
Isaac
8a99732d80
Added close command, bug fixes and improvements 2021-05-15 23:06:31 +01:00
Isaac
deef97286f
Update banner.js 2021-05-14 22:45:21 +01:00
Isaac
dc08a82ed0
New Crowdin updates (#148)
* 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-13 16:45:45 +01:00
Isaac
7cf039b8eb
Ticket releasing 2021-05-13 16:01:09 +01:00
Isaac
c9d55e6feb
Refactor listeners 2021-05-12 21:14:02 +01:00
Isaac
1a8b86dee0
Pings 2021-05-12 18:13:58 +01:00
Isaac
a0ec19faee
Fix bot creating its own ticket 2021-05-12 18:04:38 +01:00
Isaac
6506a4e876
Make reaction-less panels work 2021-05-12 17:43:52 +01:00
Isaac
89f754b968
Make reaction panels work 2021-05-12 17:32:26 +01:00
Isaac
1b4d4f1892
Update transfer.js 2021-05-11 23:53:28 +01:00
Isaac
f9b552e1d0
Fix panel categories field 2021-05-11 23:32:26 +01:00
Isaac
07147cdeb3
New Crowdin updates (#147)
* 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-11 23:15:33 +01:00
Isaac
8903f10305
Panel creation 2021-05-11 23:12:06 +01:00
Isaac
da7188d923
Update en-GB.json 2021-05-11 18:19:23 +01:00
Isaac
b3053d5b4f
New Crowdin updates (#146)
* 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-11 12:15:31 +01:00
Isaac
c9609a41b5
Ticket creation error handling 2021-05-11 11:52:23 +01:00
Isaac
10f449fc2d
New Crowdin updates (#145)
* 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 (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 (English, United States)
2021-05-11 11:04:23 +01:00
Isaac
edee95105f
Added try/catch block to named args parsing 2021-05-10 23:38:55 +01:00
Isaac
d9ece4beca
Start on panel creation 2021-05-10 23:11:25 +01:00
Isaac
de93d586fe
fix & improve args processing 2021-05-10 23:10:39 +01:00
Isaac
b8672a8906
New Crowdin updates (#138)
* New translations en-GB.json (Russian)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Italian)

* New translations en-GB.json (Russian)

* 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-10 18:31:17 +01:00
Isaac
9ebdf557df
Add ticket claiming 2021-05-10 16:28:47 +01:00
Isaac
86aa1837c7
Merge remote-tracking branch 'origin/master' 2021-05-10 14:50:39 +01:00
Isaac
718101bfa2
Improve archiving
* All users have a role field rather than just a colour (for members sidebar)
2021-05-10 14:50:34 +01:00
Isaac
d3621235c4
New translations en-GB.json (Czech) (#133) 2021-05-03 20:34:04 +01:00
Isaac
2ce7cd8435
New Crowdin updates (#132)
* 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-03 17:23:02 +01:00
Isaac
a7248d88ea
Database things, pinned messages, start on ticket claiming 2021-05-03 16:30:52 +01:00
Isaac
eb1fb737bb
New translations en-GB.json (Portuguese, Brazilian) (#131) 2021-05-03 16:19:44 +01:00
Isaac
2a283afdef
New Crowdin updates (#130)
* 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-03 15:19:00 +01:00
Isaac
25980b7db3
Bot permissions check 2021-05-03 15:01:46 +01:00
Isaac
b7b039af6e
New Crowdin updates (#129)
* New translations en-GB.json (Portuguese, Brazilian)

* New translations en-GB.json (Portuguese, Brazilian)
2021-05-03 14:18:25 +01:00
Isaac
fba2b579fb
Update i18n (and fix commands) 2021-04-27 11:34:34 +01:00
Isaac
7d9b2bd1c9
New translations en-GB.json (Norwegian) (#128) 2021-04-27 11:22:27 +01:00
Isaac
14febceeb8
New Crowdin updates (#127)
* 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 (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 (Czech)

* New translations en-GB.json (Czech)

* New translations en-GB.json (Czech)

* New translations en-GB.json (Czech)

* New translations en-GB.json (Norwegian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Hindi)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Indonesian)

* New translations en-GB.json (Norwegian)
2021-04-26 16:53:41 +01:00
Isaac
c215189192 New translations en-GB.json (English, United States) 2021-04-25 20:40:06 +01:00
Isaac
0085471f6b New translations en-GB.json (Russian) 2021-04-25 20:40:06 +01:00
Isaac
d33c996ebf New translations en-GB.json (Italian) 2021-04-25 20:40:04 +01:00
Isaac
8a7628a1bf New translations en-GB.json (German) 2021-04-25 20:40:03 +01:00
Isaac
40463d9eca New translations en-GB.json (Spanish) 2021-04-25 20:40:02 +01:00
Isaac
9912db5f43 New translations en-GB.json (French) 2021-04-25 20:40:01 +01:00
Isaac
db94bf6969
Fixes and improvements for database and other things
Also continued to add to ticket creation stuff - now includes opening questions
2021-04-25 15:40:07 +01:00
Isaac
674f29b403
Ticket creation 2021-04-24 23:49:17 +01:00
Isaac
fff423956d
More settings, update things 2021-04-24 20:34:09 +01:00
Isaac
393bdb6b79 fix 2021-04-21 22:30:28 +01:00
Isaac
a40290141b Add blacklist and do things 2021-04-21 22:02:21 +01:00
Isaac
353cb5795e Merge remote-tracking branch 'origin/master' 2021-04-21 20:55:46 +01:00
Isaac
b1ff45a23e
Update new.js 2021-04-20 22:41:25 +01:00
Isaac
f73855ec19 Add blacklist command data 2021-04-07 22:05:29 +01:00
Isaac
e2fb11de4f \x07 fun 2021-04-07 13:33:49 +01:00
Isaac
1bc2e737e3 Database encryption
Security ™️
2021-04-07 00:02:07 +01:00
Isaac
ba8c506eb4 custom 2021-04-06 19:37:56 +01:00
Isaac
f96cae3c1e Clean up and comment some code 2021-04-06 16:18:58 +01:00
Isaac
4b3ba238bd Finish "new" command, and other stuff 2021-04-05 18:38:00 +01:00
Isaac
01519df0cf tickets 2021-04-03 00:02:00 +01:00
Isaac
c01f8c3b02 HEX colours 2021-04-01 22:00:01 +01:00
Isaac
1a4a3c1a33 Ticket message storage, added entity stuff 2021-04-01 21:33:08 +01:00
Isaac
2e9217f30d Fix and improve broken and bad code.
Improve command handler, fixed message logging, fixes potential prefix problem, other small changes
2021-04-01 19:33:53 +01:00
Isaac
3def7e290d Command handling, arguments, and "new" command stuff 2021-04-01 00:17:00 +01:00
Isaac
1e3721b5da do things 2021-03-31 22:12:30 +01:00
Isaac
591cc6e0a6 Improvements 2021-03-30 22:27:54 +01:00
Isaac
245bba0c10 Remove slash commands
Not fully tested but working so far
2021-03-29 23:34:50 +01:00
Isaac
82c3175f37 Ticket creation 2021-03-28 23:49:36 +01:00
Isaac
91c53f38e6 Update database models and improve settings command's permissions 2021-03-28 18:38:17 +01:00
Isaac
8296aff28c oops 2021-03-23 23:50:50 +00:00
Isaac
dfb3f1ca02 settings command stuff 2021-03-23 23:50:00 +00:00
Isaac
ffc415354a Settings command, many small changes, improvements, and fixes 2021-03-23 23:32:24 +00:00
Isaac
e6fa1d067f Permissions 2021-03-21 23:10:37 +00:00
Isaac
04397b3261 Added conventional (non-slash) commands support for settings command
Settings server plugin postponed.
2021-03-21 22:52:32 +00:00
Isaac
57ca04288b Localisation changes
Locale is global not per guild
2021-03-16 11:16:08 +00:00
Isaac
b904a4ad3d things 2021-03-15 21:12:58 +00:00
Isaac
96562aa474 await 2021-03-04 15:39:22 +00:00
Isaac
499517d082 update things again 2021-03-04 10:18:48 +00:00
Isaac
feeca9c64d update things 2021-03-03 21:19:51 +00:00
Isaac
6cb5aef9d0 logging 2021-03-03 20:25:54 +00:00
Isaac
b685bbd38f update 2021-03-03 20:21:27 +00:00
Isaac
d5463a9bc3 Improve plugins, make settings server separate 2021-03-03 17:20:33 +00:00
Isaac
b4135169e7 Update ready.js 2021-03-03 11:27:04 +00:00
Isaac
3ce51e02b1 Update GitHub links 2021-03-03 10:57:28 +00:00
Isaac
be37c7b0ed
Settings server 2021-02-28 23:57:21 +00:00
Isaac
e53427cb36
Improve logging 2021-02-27 21:13:46 +00:00
Isaac
ddba4e2482
Update website url 2021-02-26 16:07:20 +00:00
Isaac
52633122c7
Add support for non-default database ports 2021-02-26 15:34:06 +00:00
Isaac
74fa568a7c
Add categories database table 2021-02-25 13:12:15 +00:00
Isaac
1f2d40234b
Logger and fastify, settings server 2021-02-25 12:34:16 +00:00
Isaac
a0b1853bff
Do things 2021-02-25 09:58:19 +00:00
Isaac
7cf29040ce things 2021-02-22 23:40:16 +00:00
Isaac
92ec5f2bfc Create custom.json 2021-02-22 23:40:11 +00:00
Isaac
18883d5d20
do stuff 2021-02-22 00:05:37 +00:00
Isaac
2910a2a201
progress 2021-02-21 15:58:06 +00:00
Isaac
ed12120f1b
Fix thing, add number column to tickets 2021-02-20 21:27:49 +00:00
Isaac
5e9e23bbf2
progress 2021-02-20 17:09:08 +00:00
Isaac
9016da2f73
moved 2021-02-19 23:39:59 +00:00
Isaac
67e7d36c47
Improved plugin manager and added to command manager 2021-02-19 21:26:02 +00:00
Isaac
bdcff221db
Command handler stuff, presences, other stuff 2021-02-18 18:41:35 +00:00
Isaac
7c0b1311dc
Improvements and fixes, start on command manager 2021-02-17 22:01:44 +00:00
Isaac
8b661f0462
Improve startup checking
Now attempts to copy example config & env automatically instead of just complaining about it
2021-02-17 20:51:03 +00:00
Isaac
14d7c32742
Plugin improvements and JSDoc 2021-02-17 20:17:35 +00:00
Isaac
ce2942879c
Clean up 2021-02-17 13:24:33 +00:00
Isaac
4c8e9125e5
Make things work 2021-02-16 23:35:31 +00:00
Isaac
5fdfb121c7
things 2021-02-16 22:34:20 +00:00
Isaac
cf8dff2a5b
Database 2021-02-16 14:48:04 +00:00
Isaac
dc902b6daf
Fix 2021-02-16 12:28:43 +00:00
Isaac
8a827582c6
Update database.js 2021-02-16 00:06:22 +00:00
Isaac
f44e9080e5
Start making
Start on the basic structure, database stuff
2021-02-16 00:02:44 +00:00
Isaac
9863c45fdf
Set up for v3 2021-02-15 18:34:59 +00:00
David Ralph
c630dd6da7 Only create a logger instance once 2021-02-08 18:18:58 +00:00
Oliver Cordingley
bfc9080fa7
Update closeall.js 2021-01-24 22:17:55 +00:00
Oliver Cordingley
86578331f7
Update closeall.js 2021-01-24 22:15:50 +00:00
Oliver Cordingley
76572c5d18
Update ticket's updatedAt property in msg event
This allows for messages to be closeall'd by the last message rather than creation date
2021-01-23 18:20:31 +00:00
Oliver Cordingley
0952d7fc37
linted + removed uneeded pkg require placed by VSCode 2021-01-23 17:47:38 +00:00
Oliver Cordingley
a0a15c4551
closes all tickets before a specified date 2021-01-23 17:45:35 +00:00
Oliver Cordingley
33b300f2b3
closeall logs use already-defined plural method 2021-01-19 17:20:49 +00:00
Oliver Cordingley
d725324053 Fixed and tested issues pointed out by @Eartharoid 2021-01-16 20:18:49 +00:00
Oliver Cordingley
c12d5ba047 improved logging for closeall 2021-01-16 17:06:05 +00:00
Oliver Cordingley
3d2b3c12cb fixed eslint problems in closeall.js 2021-01-16 15:50:15 +00:00
Oliver Cordingley
bf12ac8e7a fixed closing (db & discord channel) in closeall 2021-01-16 15:44:35 +00:00
Oliver Cordingley
2cd943985e linted code 2021-01-16 14:50:52 +00:00
Oliver Cordingley
a84614fbdd closeall sets all open tickets to closed
* currently does not update channels after closing.
2021-01-16 14:19:37 +00:00
Isaac (eartharoid)
ae1d24236f Improvements and fixes 2021-01-01 15:41:12 +00:00
o5pxels
234d1cd511 Rearrange default_topic in config, remove new test 2020-12-21 10:38:40 -06:00
o5pxels
29b7665279 Add else to fix topic testing 2020-12-20 23:03:44 -06:00
o5pxels
c194b74d23 Fix regex test in the new command 2020-12-20 23:02:57 -06:00
o5pxels
cc23cb6fa9 Fix regex expression test on default_topic 2020-12-20 23:01:26 -06:00
o5pxels
641f13169e Implement placeholder for default_topic 2020-12-20 20:14:35 -06:00
o5pxels
e7d9d3558a Options for confirm on close/delete on/off for new 2020-12-20 19:49:41 -06:00
Isaac (eartharoid)
6846a57a71 Separate archives channel 2020-12-03 22:55:57 +00:00
Isaac
2b5282b19e
Update close.js 2020-12-03 21:59:41 +00:00
Sébastien Guzman
390bec85c8 Made it so the bot dm's the creator and logs it in an logging channel 2020-12-03 22:40:33 +01:00
Sébastien Guzman
9b4dcdee51 Removed an oopsie 2020-12-03 22:30:29 +01:00
Sébastien Guzman
597a588132 edited the command so that the message is send to a channel instead of to the creator 2020-12-03 22:26:28 +01:00
Isaac (eartharoid)
7b0e2d8fed Add transcript members list in log message, as requested in #69 2020-11-24 23:18:32 +00:00
Isaac (eartharoid)
f572523e4b Replace emoji names with unicode characters
...to fix emoji in emebds for web archives
2020-11-20 23:50:08 +00:00
Isaac (eartharoid)
aab1b4a81a Fixed archive issues with emoji 2020-11-15 22:52:43 +00:00
Isaac (eartharoid)
36f263a07d Update archive.js 2020-11-13 19:57:06 +00:00
Isaac (eartharoid)
c3f1532bba Fixed archiving (linereader was broken)
Co-Authored-By: Camdan M <camthehelpdesk@gmail.com>
2020-11-13 19:50:11 +00:00
RhysB
5bdeb1f486 Add Ticket ID to ticket close message
This allows for staff to easily find ticket ids (at least recent ones).
2020-10-21 15:58:46 +10:00
Isaac
69154b1e42
Update index.js 2020-10-16 19:58:33 +01:00
Isaac (eartharoid)
abae5e75cf Update messageReactionAdd.js 2020-10-15 22:48:51 +01:00
Isaac (eartharoid)
ecd9bff03c regex 2020-10-15 21:01:48 +01:00
Isaac (eartharoid)
16876b1408 v2.1.1 - Paths are no longer relative 2020-10-14 22:37:57 +01:00
Isaac (eartharoid)
7143bdead2 Create transfer.js
Co-Authored-By: iFusion <31099360+iFusionFr@users.noreply.github.com>
2020-10-14 17:58:42 +01:00
David Ralph
1f92a5bce3 Error if Node is not v12 or higher, fix eslint error etc 2020-10-14 17:38:16 +01:00
Isaac (eartharoid)
d5f795416f Update tickets.js 2020-10-13 21:23:16 +01:00
Isaac (eartharoid)
92110b405f Update index.js 2020-10-12 22:57:24 +01:00
Isaac (eartharoid)
5846b88db2 Logger & presence activities 2020-10-12 22:45:37 +01:00
iFusion
a521ea0871
Update rename.js 2020-10-09 15:03:08 +02:00
iFusion
f0bef9c82d
Update rename.js 2020-10-09 15:02:36 +02:00
iFusion
49f38005d6
Add files via upload 2020-10-09 14:51:21 +02:00
iFusion
f08b4b0669
Add command -rename for rename the ticket channel 2020-10-09 14:49:06 +02:00
Isaac (eartharoid)
2a041b29ce Update delete.js 2020-10-05 23:15:24 +01:00
Isaac (eartharoid)
af11904359 Update close.js
Fix permission issue. Previously anyone added to a ticket could close it, whereas the expected functionality was that owner the creator or staff could close it. Thanks @iFusionFr for reporting the issue.
2020-10-05 23:11:55 +01:00
Isaac (eartharoid)
7c01fedb71 Minor fix 2020-10-05 22:55:41 +01:00
Isaac (eartharoid)
964747d43b Update index.js 2020-10-05 22:21:26 +01:00
David Ralph
4c163443cd consistency 2020-10-03 17:18:07 +01:00
David Ralph
b0ad6b7c88 features 2020-10-03 15:08:10 +01:00
Isaac (eartharoid)
585be0e7d5 Revert "Added extremely basic multi-role support"
This reverts commit 1c226e8f7e.
2020-09-24 17:55:40 +01:00
Isaac (eartharoid)
1c226e8f7e Added extremely basic multi-role support 2020-09-20 22:01:10 +01:00
Isaac
f2af5ef40c
Update ready.js 2020-09-08 18:36:41 +01:00
Isaac (eartharoid)
ee966aa9a9 Create delete.js 2020-09-07 13:00:39 +01:00
Isaac
f292a3083c
Update message.js 2020-09-07 11:10:55 +01:00
Isaac (eartharoid)
170a5796f7 fix typo 2020-09-07 10:13:09 +01:00
Isaac (eartharoid)
7c5ba65b0e minor stuff
you can't remove yourself anymore
2020-09-07 10:01:29 +01:00
Isaac (eartharoid)
97524f2c15 Fix the bot being able to remove itself, also fixed typo 2020-09-07 09:50:31 +01:00