Commit Graph

100 Commits

Author SHA1 Message Date
Isaac
2ea78a1457
Disable updating permissions 2022-05-02 00:36:41 +01: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
e38b66e4dd
fix: problem caused by previous #250 fix 2021-10-26 20:27:42 +01:00
Isaac
d3ed6405db
fix: #250 by deferring then editing the reply 2021-10-26 16:58:06 +01:00
Isaac
dae9a8c0d0
fix: convert surveys to buttons 2021-10-07 12:21:44 +01:00
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
Isaac
8cd93df4dc
Add text transcripts plugin 2021-08-28 21:50:44 +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
461d535102
Database improvements 2021-05-30 20:39:14 +01:00
Isaac
bdd172ea1c
Parse JSON if its a string 2021-05-30 18:09:28 +01:00
Isaac
2b5e4a27bb
Move blacklist check to after command stuff 2021-05-30 18:05:05 +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
20ac8bff73
Survey responses!
and some small changes/fixes
2021-05-19 15:24:02 +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
6a978aa025
Settings validation 2021-05-17 20:24:00 +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
c9d55e6feb
Refactor listeners 2021-05-12 21:14:02 +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
edee95105f
Added try/catch block to named args parsing 2021-05-10 23:38:55 +01:00
Isaac
de93d586fe
fix & improve args processing 2021-05-10 23:10:39 +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
25980b7db3
Bot permissions check 2021-05-03 15:01:46 +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
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
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