Commit Graph

25 Commits

Author SHA1 Message Date
Isaac
f49a044340
Revert "Merge remote-tracking branch 'origin/main' into main"
This reverts commit feb116b4df.
2021-10-26 23:35:18 +01:00
Isaac
d3ed6405db
fix: #250 by deferring then editing the reply 2021-10-26 16:58:06 +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
32f43ac18f
Linting 2021-05-22 00:04:18 +01:00
Isaac
777719d1b3
Fix settings 2021-05-21 21:15:54 +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
82473db65c
"remove" command 2021-05-16 19:48:02 +01:00
Isaac
2ca83c3146
Add commands 2021-05-16 15:11:24 +01: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
Isaac (eartharoid)
f572523e4b Replace emoji names with unicode characters
...to fix emoji in emebds for web archives
2020-11-20 23:50:08 +00:00
Isaac (eartharoid)
5846b88db2 Logger & presence activities 2020-10-12 22:45:37 +01:00
David Ralph
4c163443cd consistency 2020-10-03 17:18:07 +01:00
David Ralph
b0ad6b7c88 features 2020-10-03 15:08:10 +01:00
Isaac (eartharoid)
585be0e7d5 Revert "Added extremely basic multi-role support"
This reverts commit 1c226e8f7e.
2020-09-24 17:55:40 +01:00
Isaac (eartharoid)
1c226e8f7e Added extremely basic multi-role support 2020-09-20 22:01:10 +01:00
Isaac (eartharoid)
7c5ba65b0e minor stuff
you can't remove yourself anymore
2020-09-07 10:01:29 +01:00
Isaac (eartharoid)
97524f2c15 Fix the bot being able to remove itself, also fixed typo 2020-09-07 09:50:31 +01:00
Isaac (eartharoid)
2c5699d946 config 2020-08-23 23:15:39 +01:00
Isaac (eartharoid)
5c65888c95 almost done.... 2020-08-23 22:01:21 +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