Isaac
83e7ff6019
Reset for new version
2022-03-11 21:09:17 +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
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
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
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
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
Isaac
1da289185b
fix: tag command
...
when there is no subcommand line 42 generates an error
2021-09-25 18:39:14 +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
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
461d535102
Database improvements
2021-05-30 20:39:14 +01:00
Isaac
0e881b85f6
Fix help command
2021-05-30 11:38:34 +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
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
7255e76206
Make tags staff-only
2021-05-18 23:02:51 +01:00
Isaac
c03a32dbb4
FAQs/tags/canned responses
2021-05-18 22:08:49 +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
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
2fd18218e2
"add" command
2021-05-16 18:37:08 +01:00
Isaac
2ca83c3146
Add commands
2021-05-16 15:11:24 +01:00
Isaac
8a99732d80
Added close command, bug fixes and improvements
2021-05-15 23:06:31 +01:00
Isaac
7cf039b8eb
Ticket releasing
2021-05-13 16:01:09 +01:00
Isaac
1a8b86dee0
Pings
2021-05-12 18:13:58 +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
8903f10305
Panel creation
2021-05-11 23:12:06 +01:00
Isaac
c9609a41b5
Ticket creation error handling
2021-05-11 11:52:23 +01:00
Isaac
d9ece4beca
Start on panel creation
2021-05-10 23:11:25 +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
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
b1ff45a23e
Update new.js
2021-04-20 22:41:25 +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
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
d5463a9bc3
Improve plugins, make settings server separate
2021-03-03 17:20:33 +00:00
Isaac
a0b1853bff
Do things
2021-02-25 09:58:19 +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
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
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
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
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