Commit Graph

144 Commits

Author SHA1 Message Date
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
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