Commit Graph

41 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
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
461d535102
Database improvements 2021-05-30 20:39:14 +01:00
Isaac
a80c739171
Change opening_message column type 2021-05-30 18:38:00 +01:00
Isaac
5436df5c43
Update guild.model.js 2021-05-30 14:16:17 +01:00
Isaac
32f43ac18f
Linting 2021-05-22 00:04:18 +01:00
Isaac
8a15f34342
Make @davidjcralph happy
const
2021-05-18 18:12:07 +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
8903f10305
Panel creation 2021-05-11 23:12:06 +01:00
Isaac
d9ece4beca
Start on panel creation 2021-05-10 23:11:25 +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
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
a40290141b Add blacklist and do things 2021-04-21 22:02:21 +01:00
Isaac
1bc2e737e3 Database encryption
Security ™️
2021-04-07 00:02:07 +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
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
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
ffc415354a Settings command, many small changes, improvements, and fixes 2021-03-23 23:32:24 +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
6cb5aef9d0 logging 2021-03-03 20:25:54 +00:00
Isaac
b685bbd38f update 2021-03-03 20:21:27 +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
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
ce2942879c
Clean up 2021-02-17 13:24:33 +00:00
Isaac
5fdfb121c7
things 2021-02-16 22:34:20 +00:00
Isaac
cf8dff2a5b
Database 2021-02-16 14:48:04 +00:00