Commit Graph

24 Commits

Author SHA1 Message Date
44a44e938f Reformat entire project with ruff instead of black 2025-08-18 20:16:10 -04:00
8fd1fd805a Fix AutoModRule.edit handling of AutoModRuleEventType enum 2024-04-21 14:56:20 -04:00
4e03b170ef Update pyright version 2024-02-20 13:36:02 -05:00
e1c1a72a50 Fix AutoModRuleAction attribute error 2023-10-21 04:14:29 -04:00
933460c3d4 Fix member_profile triggers not having attributes filled 2023-10-20 04:24:55 -04:00
5d353282dc Support for AutoMod Members
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Kaylynn Morgan <51037748+kaylynn234@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-10-19 07:25:51 -04:00
879c8b9340 Add overloads for AutoModRuleAction.__init__ 2023-03-14 07:34:43 -04:00
90d50bef1f Add custom_message to automod block_message aciton 2023-02-26 03:26:26 -05:00
29461ddb5f Change max values in AutoModTrigger attributes docs 2023-02-25 02:44:44 -05:00
d8da6a8da1 Update AutoModTrigger.regex_pattern documentation 2023-01-10 16:27:06 -05:00
7863418ddb Fix AutoModRule.edit to work with actual snowflake types
Fixes #9159
2022-12-30 01:58:33 -05:00
cc3b987229 Fix AutoModTrigger ignoring allow_list with type keyword 2022-12-14 19:07:32 -05:00
cd6fd13a8f Add AutoModTrigger.__repr__ 2022-11-06 07:21:41 -05:00
84767ef840 Add AutoModTrigger.regex_patterns support 2022-11-06 07:17:38 -05:00
ce06beeb6c Fix permissions-based docstrings to be more consistent 2022-09-17 14:07:39 -04:00
1097e1d975 Add mention_spam automod trigger and change default values 2022-08-16 16:58:59 -04:00
ca1365d7ef Set allow_list for fetched AutoModRules 2022-08-03 20:23:58 -04:00
5538cd501c Document relationship between AutoModRuleAction and its type 2022-08-03 03:13:00 -04:00
c604f853ea Allow creation of allow lists in automod word filter rules 2022-08-03 03:10:36 -04:00
9d9d96fce1 Fix crash with automod due to silent Discord breaking change
Fix #8264
2022-07-23 15:14:45 -04:00
04aeff660b Add automod types to audit log 2022-07-07 19:30:03 -04:00
482e3ead9b Improve documentation on AutoModAction.message_id 2022-07-01 20:12:07 -04:00
66dbed29b7 Add support for harmful_link automod triggers
Co-authored-by: Blue <blue@nqn.blue>
2022-06-29 21:52:22 -04:00
5426d19dc7 Implement AutoMod 2022-06-27 00:47:52 -04:00