Commit Graph

32 Commits

Author SHA1 Message Date
Isaac
a90f4eba2d
fix: error when opening a ticket
...when neither claiming nor close button are enabled
2021-09-25 18:38:12 +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
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
32f43ac18f
Linting 2021-05-22 00:04:18 +01:00
Isaac
777719d1b3
Fix settings 2021-05-21 21:15:54 +01:00
Isaac
20ac8bff73
Survey responses!
and some small changes/fixes
2021-05-19 15:24:02 +01:00
Isaac
8a15f34342
Make @davidjcralph happy
const
2021-05-18 18:12:07 +01:00
Isaac
950f448543
Improve JSDoc types 2021-05-17 18:13:55 +01:00
Isaac
ceac5801fd
"topic" command 2021-05-16 21:31:23 +01:00
Isaac
002240d777
Send the embed in the same message as the ping 2021-05-16 18:18:41 +01:00
Isaac
c5b8ff0a07
transactions 2021-05-16 17:41:30 +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
8a99732d80
Added close command, bug fixes and improvements 2021-05-15 23:06:31 +01:00
Isaac
1a8b86dee0
Pings 2021-05-12 18:13:58 +01:00
Isaac
c9609a41b5
Ticket creation error handling 2021-05-11 11:52:23 +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
a7248d88ea
Database things, pinned messages, start on ticket claiming 2021-05-03 16:30:52 +01:00
Isaac
fba2b579fb
Update i18n (and fix commands) 2021-04-27 11:34:34 +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
1bc2e737e3 Database encryption
Security ™️
2021-04-07 00:02:07 +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
a0b1853bff
Do things 2021-02-25 09:58:19 +00:00
Isaac
7cf29040ce things 2021-02-22 23:40:16 +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
67e7d36c47
Improved plugin manager and added to command manager 2021-02-19 21:26:02 +00:00