Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 30 forks source link

[Defender] Add threads actions in Warden rules. #67

Closed AAA3A-AAA3A closed 2 months ago

AAA3A-AAA3A commented 1 year ago

Hello,

This PR adds thread-related actions to Defender's Warden rules: archive-thread:, lock-thread:, archive-and-lock-thread: and delete-thread:. They act according to context and take no arguments.

I couldn't test this PR because I haven't configured Defender for a long time, but I followed the same logic as for the other actions.

Have a nice day, AAA3A

Closes #66

mon5termatt commented 10 months ago

This looks like a good idea.