Commit Graph

154 Commits

Author SHA1 Message Date
Isaac
6f535e7149
help 2022-10-10 15:44:13 +01:00
Isaac
507e963efc
update /force-close options 2022-10-06 12:49:38 +01:00
Isaac
fad1abf579
log ticket update 2022-10-05 18:21:53 +01:00
Isaac
8ea372ea36
Add /priority command 2022-10-05 18:04:29 +01:00
Isaac
460138fb73
Progress on message archiving 2022-09-30 17:09:35 +01:00
Isaac
10ef6bb617
Add pin command 2022-09-29 16:08:46 +01:00
Isaac
84505c2a5f
Add for option to /tag command 2022-09-04 21:04:05 +01:00
Isaac
956648c265
Update ticket autocompleter 2022-09-04 21:00:18 +01:00
Isaac
4c176d082f
#303 and other stuff 2022-08-13 23:58:41 +01:00
Isaac
c64b18a397
Add message and ticket referencing, fixes 2022-08-13 23:01:44 +01:00
Isaac
c6abefe30d
Rename move command to transfer 2022-08-10 19:50:19 +01:00
Isaac
bc3ccdcb82
ticket creation works 2022-08-08 21:55:09 +01:00
Isaac
01e479dab5
Make progress on ticket creations + fixes 2022-08-08 01:36:14 +01:00
Isaac
954681685a
Add move command 2022-08-02 21:29:44 +01:00
Isaac
b4618aac1b
Create commands 2022-08-02 21:13:32 +01:00
Isaac
aa51cd0554
Update to @eartharoid/dbf@0.3 2022-08-02 17:25:53 +01:00
Isaac
a37d5e7613 First command 2022-05-05 21:47:08 +01:00
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