Commit Graph

20 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
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
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
8903f10305
Panel creation 2021-05-11 23:12:06 +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
1bc2e737e3 Database encryption
Security ™️
2021-04-07 00:02:07 +01:00
Isaac
4b3ba238bd Finish "new" command, and other stuff 2021-04-05 18:38:00 +01:00
Isaac
c01f8c3b02 HEX colours 2021-04-01 22:00:01 +01:00
Isaac
1e3721b5da do things 2021-03-31 22:12:30 +01: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
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
f44e9080e5
Start making
Start on the basic structure, database stuff
2021-02-16 00:02:44 +00:00
Isaac (eartharoid)
6425e3930c soon ™️ 2020-08-23 15:35:24 +01:00
Isaac (eartharoid)
b50215404c progress. archiving works (other than uploading to server) 2020-08-22 22:40:27 +01:00
Isaac (eartharoid)
5ed96f33d5 ... 2020-08-17 22:07:05 +01:00
Isaac (eartharoid)
62494aaa4d progress 2020-08-17 14:46:23 +01:00
Isaac (eartharoid)
8431b2d241 v2 rewrite with discord.js@v12 support. Now with SQLite or MySQL storage.
Code is at least 80% less bad.
2020-08-12 23:02:33 +01:00