Commit graph

37 commits

Author SHA1 Message Date
09a573a2d3
the funny 2024-11-02 14:55:29 +02:00
Dragory
5f194bf1ef
chore: fix lint errors; tweak lint rules 2023-05-08 22:58:51 +03:00
Dragory
16fa19d3e9
chore: prettier 2023-05-08 21:33:40 +03:00
Tiago R
06877e90cc
Update djs & knub (#395)
* update pkgs

Signed-off-by: GitHub <noreply@github.com>

* new knub typings

Signed-off-by: GitHub <noreply@github.com>

* more pkg updates

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* channel typings

Signed-off-by: GitHub <noreply@github.com>

* more message utils typings fixes

Signed-off-by: GitHub <noreply@github.com>

* migrate permissions

Signed-off-by: GitHub <noreply@github.com>

* fix: InternalPoster webhookables

Signed-off-by: GitHub <noreply@github.com>

* djs typings: Attachment & Util

Signed-off-by: GitHub <noreply@github.com>

* more typings

Signed-off-by: GitHub <noreply@github.com>

* fix: rename permissionNames

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* half the number of errors

* knub commands => messageCommands

Signed-off-by: GitHub <noreply@github.com>

* configPreprocessor => configParser

Signed-off-by: GitHub <noreply@github.com>

* fix channel.messages

Signed-off-by: GitHub <noreply@github.com>

* revert automod any typing

Signed-off-by: GitHub <noreply@github.com>

* more configParser typings

Signed-off-by: GitHub <noreply@github.com>

* revert

Signed-off-by: GitHub <noreply@github.com>

* remove knub type params

Signed-off-by: GitHub <noreply@github.com>

* fix more MessageEmbed / MessageOptions

Signed-off-by: GitHub <noreply@github.com>

* dumb commit for @almeidx to see why this is stupid

Signed-off-by: GitHub <noreply@github.com>

* temp disable custom_events

Signed-off-by: GitHub <noreply@github.com>

* more minor typings fixes - 23 err left

Signed-off-by: GitHub <noreply@github.com>

* update djs dep

* +debug build method (revert this)

Signed-off-by: GitHub <noreply@github.com>

* Revert "+debug build method (revert this)"

This reverts commit a80af1e729b742d1aad1097df538d224fbd32ce7.

* Redo +debug build (Revert this)

Signed-off-by: GitHub <noreply@github.com>

* uniform before/after Load shorthands

Signed-off-by: GitHub <noreply@github.com>

* remove unused imports & add prettier plugin

Signed-off-by: GitHub <noreply@github.com>

* env fixes for web platform hosting

Signed-off-by: GitHub <noreply@github.com>

* feat: knub v32-next; related fixes

* fix: allow legacy keys in change_perms action

* fix: request Message Content intent

* fix: use Knub's config validation logic in API

* fix(dashboard): fix error when there are no message and/or slash commands in a plugin

* fix(automod): start_thread action thread options

* fix(CustomEvents): message command types

* chore: remove unneeded type annotation

* feat: add forum channel icon; use thread icon for news threads

* chore: make tslint happy

* chore: fix formatting

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: almeidx <almeidx@pm.me>
Co-authored-by: Dragory <2606411+Dragory@users.noreply.github.com>
2023-04-01 14:58:17 +03:00
Dragory
d472fd4fa6
fix(logs): fix inconsistent thread/channel/category exclusions; add excluded_threads log channel option 2022-08-13 23:19:06 +03:00
Dragory
b05fbe1d04
Update to discord.js v13.8.0, adding support for text-in-voice 2022-06-13 21:19:56 +03:00
Dragory
55a39e0758
feat: use webhooks for logs when possible 2021-11-02 19:59:42 +02:00
Dragory
f733f081e0
Fix batched logs not being separated by newlines 2021-09-12 12:05:58 +03:00
Dragory
e6694f3751
Chunk text-only log messages. Use a cooldown if running into Missing Access / Missing Permissions error during logging. 2021-09-11 19:20:31 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
001b6d00ea
Batch embed logs. Always use log batching. 2021-09-11 18:57:06 +03:00
Dragory
bed6589d48
Typed log functions + more 2021-08-18 01:51:42 +03:00
almeidx
12d2724256
fix: updated some properties that were renamed on the discord.js side 2021-07-28 16:08:36 +01:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
d0c6e6f411
More fixes, waitForInteraction (replacement for waitForReaction) 2021-06-02 23:41:05 +02:00
Dark
57893e7f76
More rework progress, mostly done up to ModActions 2021-06-01 04:33:02 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
a9e0466e33
Fix 2021-05-24 20:57:05 +03:00
Dragory
a1d188cc79
logs: fix excluded_roles for messages (vol 2) 2021-05-24 20:55:03 +03:00
Dragory
a72750b8d8
logs: fix excluded_roles for messages 2021-05-24 20:43:46 +03:00
Dragory
6038996f10
Add excluded_roles to logs 2021-05-22 14:05:09 +03:00
Nils
f762a238de
Disable mentions in logs, allowing mods to be mentioned (#142)
Optionally you can return to old behavior by setting allow_user_mentions to true
2021-01-28 01:26:24 +02:00
Dragory
f4b13529c6
logs: fix excluded_categories not working 2020-12-24 00:48:04 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
d65f5b99d7
Add exclude_bots option to log channels 2020-11-08 17:55:33 +02:00
Dragory
2650ab81a5
Add excluded_categories option to log channels 2020-11-08 17:52:56 +02:00
Dragory
400f1f0807
logs: add timestamps to embeds, add setting to turn off embed timestamps, move timestamp format setting to root/channel level 2020-10-11 02:32:55 +03:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
ad52ace055
Fix error 2020-08-05 01:19:09 +03:00
Dragory
a7fa258f2a
Run user-supplied regexes in worker threads with a timeout 2020-08-05 01:15:36 +03:00
Dragory
9125dba2ab
Fix logs crash 2020-07-30 13:40:34 +03:00
Dragory
28de8a592b
logs: allow per-log-channel log formats 2020-07-30 02:28:11 +03:00
Dragory
8b22ce267d
logs: add support for embeds in log formats 2020-07-30 02:21:31 +03:00
Dragory
07da88b7cb
More Automod updates 2020-07-28 21:51:58 +03:00
Dark
aea019181c Migrate Logs to new Plugin structure, also dont ignore it 2020-07-27 01:53:14 +02:00