Commit graph

31 commits

Author SHA1 Message Date
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
metal
446f188e16
feat: add automod thread_archive and thread_unarchive triggers (#292)
Co-authored-by: Almeida <almeidx@pm.me>
2021-10-31 22:08:29 +02:00
Almeida
6709115166
feat: add thread_create_spam automod trigger (#273) 2021-10-31 19:23:26 +02:00
Almeida
92dfbca362
feat: add thread_create and thread_delete automod triggers (#272)
Co-authored-by: metal <admin@metalruller.com>
2021-10-31 17:21:53 +02:00
Dragory
bb94d77143
feat: add env var to enable profiling 2021-10-28 17:11:56 +03:00
Dragory
d27f6f94df
fix: revert member fetching in automod due to 429s 2021-10-17 20:20:15 +03:00
Dragory
66b93dd31c
chore: clean up unnecessary cache.get ?? fetch 2021-10-17 19:56:04 +03:00
Dragory
3131878cfb
fix(automod): fetch message user/member if missing from cache 2021-10-17 19:52:56 +03:00
Dragory
ff8d406e8a
feat: upgrade to Knub v30.0.0-beta.46, add better performance profiling tools 2021-10-05 20:49:58 +03:00
Dragory
bd87e1f000
Potential fix for role_added/role_removed Automod triggers triggering randomly 2021-09-11 19:24:13 +03:00
metal
2d777a03db
Logs - role change compare only role IDs instead of a collection (#264) 2021-09-04 19:15:16 +03:00
almeidx
20159edd7f
fix: automod on guildMemberUpdate 2021-08-21 14:16:40 +01:00
almeidx
88f53b4af9
removed unnecessary non-null operator 2021-07-28 22:29:52 +01:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
f9dd82f201
Add member_leave automod trigger
At least i think so - cant test it until knub changes are done
2021-06-17 02:30:12 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
f6be4f4af6
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Dragory
abdf54e134
Add member to the Automod context for mod action triggers 2021-04-29 02:29:23 +03:00
Nils
51db942d97
Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Dragory
2e5224124f
Improve antiraid trigger automod logs 2021-04-02 19:50:37 +03:00
Dragory
b28186aa0a
automod: add antiraid_level trigger 2021-04-02 17:53:16 +03:00
Dragory
ab8ea2e7e5
counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
78ff2641d4
automod: add user/member to automod context for counters trigger 2021-02-13 21:34:47 +02:00
Dragory
c3407e2d5d
Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
4c7a51f586
automod: add role_added and role_removed triggers 2020-08-10 02:22:39 +03:00
Dragory
6caf7b1304
automod: fix spam filters counting edits multiple times 2020-08-02 03:23:12 +03:00
Dragory
0f0728bc1c
Automod work vol 3 2020-07-27 22:19:34 +03:00
Dragory
f657b169df
Automod work 2020-07-27 20:42:10 +03:00