Commit graph

10 commits

Author SHA1 Message Date
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
metal
00591510ff
Automod add changeperms action (#309)
* initial

* fix typings UwU

* check no perms for overrides

* cleanup & add template rendering

* remove defaults

Co-authored-by: Almeida <almeidx@pm.me>

* Update backend/src/plugins/Automod/actions/changePerms.ts

Co-authored-by: Almeida <almeidx@pm.me>

* Update backend/src/plugins/Automod/actions/changePerms.ts

Co-authored-by: Almeida <almeidx@pm.me>

* Update backend/src/plugins/Automod/actions/changePerms.ts

Co-authored-by: Almeida <almeidx@pm.me>

* .resolve instead of .fetch

Co-authored-by: Almeida <almeidx@pm.me>

* fix

* add more template variables

* rename msg to message

* .edit instead of .create

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

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: metal <admin@metalruller.com>
Co-authored-by: Almeida <almeidx@pm.me>
2022-08-13 23:47:24 +03:00
metal
f9c0e661af
feat: add automod start_thread action (#274)
Co-authored-by: Almeida <almeidx@pm.me>
2021-10-31 17:27:00 +02:00
Almeida
b3e2e0cffb
Add archive_thread action to automod (#271) 2021-09-04 19:37:49 +03:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Nils
dd9c52bc43
Add automod action for setting slowmode (#167) 2021-04-28 23:18:23 +03:00
Dragory
4147298120
Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +03:00
Dragory
c3407e2d5d
Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
Dragory
01e43e9b46
Add new Automod actions to availableActions 2020-07-28 23:28:42 +03:00
Dragory
f657b169df
Automod work 2020-07-27 20:42:10 +03:00