Commit graph

1555 commits

Author SHA1 Message Date
Dragory
3db9090705
fix: circular dependency in automod types 2024-01-15 18:03:45 +00:00
Miikka
cfadfe2d91
Merge pull request #451 from metal0/disable-guild-member-cache
fix: Disable guildMemberCache plugin temporarily
2024-01-15 19:22:45 +02:00
Tiago R
39e8367f5f
disable guildmembercache
Signed-off-by: GitHub <noreply@github.com>
2024-01-15 12:23:52 +00:00
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Almeida
c07e4321a7
remove erlpack (#444) 2024-01-08 15:35:55 +00:00
Almeida
47ad8fa4d3
only call disableInvites() if value has changed (#443) 2024-01-08 11:15:57 +00:00
Tiago R
f58e7f5eb7
Fix automod cooldown logic (#442)
* fix automod cooldowns

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

* almeida fixes

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

* https://shr2.i0.tf/82e683c8/bd310b9c-7492-44f0-aed5-af6a22a3c196.png

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

---------

Signed-off-by: GitHub <noreply@github.com>
2024-01-07 21:12:50 +00:00
Ben Richeson
094e94f0f4
Add pause_invites automod action (#423)
* feat(AutomodPlugin): toggle invite action

* feat: rename and change config shape

* refactor: rename disable_invites to pause_invites

* fix: make options an object, else setting an action to `false` ignores it
2024-01-05 01:41:12 +00:00
Tiago R
c53bfaa233
remove trimLines
Signed-off-by: GitHub <noreply@github.com>
2023-12-29 17:03:45 +00:00
Tiago R
3217f35017
implement MEMBER_MUTE_EXPIRED (#437)
Signed-off-by: GitHub <noreply@github.com>
2023-12-29 14:30:40 +00:00
Ben Richeson
8a4a2d3647
feat: option to trigger antiraid_level only on change (#424)
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:52:43 +00:00
hawkeye7662
d51461ee3a
Catch Too Many Reactions error (#326)
Catches Maximum number of reactions reached (20) error by checking for error code 30010

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:32:48 +00:00
hawkeye7662
1cb8431a02
Fix loose matching for automod (#428)
Added a missing closing bracket for the regex to work.

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:29:28 +00:00
Tiago R
7c946949d6
automod match_link fixes (#432)
* remove trailing dot from FQDN for TLD check

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

* yeet all trailing characters from TLDs

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

* oops

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

* move dumb loop to regex replace

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

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 11:43:36 +00:00
BanTheNons
d09e0566b3
fix: reactions in the channel archiver command (#308)
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-28 20:43:46 +00:00
Tiago R
d8c1a5791b
Reworked automod "set_slowmode" action (#441)
* initial

* fixes

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

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-28 20:14:26 +00:00
Tiago R
8860d4fb22
Timeouts: better validations (#438)
* better timeout validations

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

* almeida reviews

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

* better error handling

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

* add missing catch noops

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

---------

Signed-off-by: GitHub <noreply@github.com>
2023-12-28 14:41:32 +00:00
Tiago R
bb4fdf6530 move embed fields to embed description
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:23:57 +00:00
Tiago R
ae651c8a70 paginated user cases
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:23:57 +00:00
Tiago R
2ac7ae85ce missed one
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
2b5a5e636a almeida review.mp4
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
e0637a206f better startThread if checks (almeida is happy)
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
89d6e8aeec missed one
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
aa1f11e801 lint
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
2e0598194f fix renderUsername overloads
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
bfc90093dc yeet renderUserUsername
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
4d0161a49f oh god almeida looked at my code
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
10bb0b67bc some more patches thanks to ruby
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
ba4a2b45b8 remove useless feature check
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
1e66f235b2 media channel icon
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
c5704131ce support media channels
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
1579c3ec25 disable status-search arg
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
4c788bc321 some transforms
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
f1791fac44 redo username check, yeet discrims entirely
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
43076b3db6 update djs
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
c4a2be5ff5 resolveUserId support new usernames
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Almeida
047ab872df
fix parsing of file extension in match_attachment_type trigger (#425) 2023-12-27 18:44:35 +00:00
Tiago R
d162418be5
Add missing dependency to mutes plugin & fix timeout expiry (#430)
* +debug

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

* Revert "+debug"

This reverts commit 83daee09d9e63ad0c162f4ec30d42b03ab4bdc7f.

* add missing dependency to mutes

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

* lower max timeout duration

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

---------

Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:38:26 +00:00
Tiago R
f17232e0c1
dont allow self targeting for set-perms (#434)
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:35:16 +00:00
Almeida
cf55eb161f
fix formatting and globs in package.json (#440) 2023-12-27 18:30:08 +00:00
Tiago R
94a712832a
Display available emojis separately from total on server info (#433)
* respect .available (almeida-approved code!!)

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

* Update backend/src/plugins/Utility/functions/getServerInfoEmbed.ts

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

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <almeidx@pm.me>
2023-12-27 18:20:48 +00:00
Tiago R
48d5696552
add missing "where"
Signed-off-by: GitHub <noreply@github.com>
2023-12-22 20:21:22 +00:00
Dragory
fafaefa1fb
feat: limit logs timestamp_format length 2023-11-25 12:28:28 +02:00
Dragory
c82e147ea1
feat: more robust tag error handling 2023-11-25 12:15:32 +02:00
Dragory
09b6d43a5c
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2023-11-25 12:06:02 +02:00
Dragory
9fd2bf4edb
fix: crash on tag round() with non-numeric argument 2023-11-18 12:57:54 +02:00
Dragory
062cb053cc
fix: crash on tag round() with >100 decimals 2023-11-18 12:55:01 +02:00
Miikka
b47db15ad2
Merge pull request #378 from rubyowo/concatArr-crash-fix
fix: crash when the arr argument for concatArr isn't specified
2023-11-18 12:51:56 +02:00
Dragory
be40bbae9c
fix: api key verification/dashboard login 2023-07-01 17:09:23 +00:00
Dragory
ee3ef7c77f
fix: broken prod migrations 2023-07-01 16:14:15 +00:00