Dragory
301ba5627d
Change plugin/discord error tolerance from 5/12.5s to 5/10s
2020-12-18 05:08:51 +02:00
Dragory
779212233c
Pass unhandled rejections to main error handler
2020-12-18 05:07:55 +02:00
Dragory
8451998b59
Fix edge case crash when a channel deletion event is received before the last message in that channel is processed
2020-12-18 05:00:53 +02:00
Dragory
dccc14804a
Apply code style from prettier
2020-12-17 04:15:08 +02:00
Dragory
6872539d4d
Fix several locations that expected resolveUser() to return null
2020-12-17 04:12:49 +02:00
Dragory
127ef260f1
Fix crash from invalid user id in !addcase
2020-12-17 04:10:36 +02:00
Dragory
bd4182bb53
Clean up HTTP 500 errors in stderr
2020-12-17 03:51:59 +02:00
Dragory
00d1cccebe
Fix muteUser() sometimes operating on stale member info
2020-12-17 03:50:02 +02:00
Dragory
d7da90f409
Fix resolveUser() returning null in contrast to its typings
2020-12-17 03:46:52 +02:00
Dragory
b9d561018b
Fix crash if automod alert message fails to render
2020-12-17 03:44:42 +02:00
Dragory
687bffa3f4
Add pagination to !cases -mod
2020-12-15 15:18:08 +02:00
Dragory
36dd1a52ab
Add utility function to create paginated messages
2020-12-15 15:13:31 +02:00
Dragory
fb2c5abb02
Fix !cases -mod giving an error about unknown member
2020-12-15 14:47:17 +02:00
Dragory
7336b75a8c
Quick fix for build
2020-12-13 22:16:55 +02:00
Dragory
6bfcbaad3d
Type error fix
2020-12-13 22:11:16 +02:00
Dragory
a353a9062b
Type fix
2020-12-13 15:28:00 +02:00
Dragory
c774f79ae7
Update to TS 4.1, use same TS package in all sub-packages
2020-12-13 15:26:33 +02:00
Jonathan
194aba643b
List message author IDs in bulk deletes logs ( #109 )
2020-12-12 22:31:35 +02:00
Nils
87b2798a96
Add moderator variable to mod action templates ( #119 )
2020-12-12 22:29:08 +02:00
vcokltfre
d7d9178b2a
feat: add requested 'whois' as alias for !user ( #122 )
2020-12-12 22:24:09 +02:00
Nils
af2652eb68
Make !clean ignore pins by default, explicit -delete-pins/-p option to delete them ( #121 )
2020-12-12 22:23:53 +02:00
Jonathan
e3d064f2b8
Add !modlogs as an alias to !cases ( #128 )
...
Co-authored-by: Jonathan <54381371+chislxyz@users.noreply.github.com>
2020-12-12 22:22:31 +02:00
Nils
c108da4c40
Add command to move all VC Members to another VC ( #126 )
2020-12-12 22:15:15 +02:00
Miikka
9ce7f4d929
Merge pull request #127 from DarkView/banForcebanUpgrade
...
Allow ban to be upgraded to forceban if the member is not on the server
2020-12-12 22:13:17 +02:00
Dragory
d7993c7bcc
Fix automod warns, kicks, and bans not using default contact methods
2020-12-03 16:55:53 +02:00
Dragory
aaabdeb978
Fix automod mutes not using default contact methods
2020-12-03 16:47:11 +02:00
Dragory
4dfcb5b195
Add 'set_channel_permission_overrides' custom event action
2020-11-22 14:59:02 +02:00
Dragory
169692f878
Add 'make_role_mentionable' and 'make_role_unmentionable' custom event actions
2020-11-22 14:14:17 +02:00
Dark
282cbaef60
Allow ban to be upgraded to forceban if the member is not on the server
2020-11-20 02:31:31 +01:00
Dragory
b681316471
Fix accidental early return in match_invites automod trigger
2020-11-09 20:43:46 +02:00
Dragory
409fc68fc7
Add comment clarifying WithRequiredProps
2020-11-09 20:43:10 +02:00
Dragory
08ec91be28
Fix config parsing issues caused by RoleAddedTrigger/RoleRemovedTrigger default config
2020-11-09 20:12:54 +02:00
Dragory
5946e920f6
Fix TypeORM errors for nullable fields
...
For fields with '| null' in the TS type, the column type needs to be
specified explicitly in column options when using MySQL.
See:
https://github.com/typeorm/typeorm/issues/1358#issuecomment-391736766
2020-11-09 20:12:16 +02:00
Dragory
6f2d5a3784
Turn on strict TS compilation. Fix up and tweak types accordingly.
2020-11-09 20:03:57 +02:00
Dragory
57a22eb044
Update to Knub v30.0.0-beta.30
2020-11-09 20:03:38 +02:00
Dragory
7fb5a6da3f
Update to Knub v30.0.0-beta.29, Eris custom branch
2020-11-09 18:52:30 +02:00
Dragory
7f044e24e9
Fix bug in getRecentActionCount where the fn could return a boolean or reset the count during counting
2020-11-09 03:34:01 +02:00
Dragory
d5f1bff75b
Add exclude_bots option to log channels
2020-11-08 17:55:33 +02:00
Dragory
e4ed737f1c
Add excluded_categories option to log channels
2020-11-08 17:52:56 +02:00
Dragory
273d36a653
Update Knub to 30.0.0-beta.27, Eris to 0.14.0 (stickers fork)
2020-11-06 03:16:38 +02:00
Dragory
a1cb1bb617
Include stickers in !source
2020-10-22 01:22:28 +03:00
Dragory
c68963f31d
Merge branch 'master' of github.com:Dragory/ZeppelinBot
2020-10-20 17:48:01 +03:00
Dragory
122ea3e89c
Fix warn notification sometimes triggering on the bot's own reaction
2020-10-20 17:47:49 +03:00
Dragory
70efc9a26e
Add yaml parse+mutate+reserialize test
2020-10-19 20:10:16 +03:00
Miikka
8576def39e
Merge pull request #120 from DarkView/fr_massCaseModifications
...
Allow hidecase, unhidecase and deletecase to take multiple case numbers
2020-10-18 17:32:19 +03:00
Dragory
fd71119098
Fixes
2020-10-16 02:13:54 +03:00
Dragory
72829cff54
Add sticker_spam automod trigger
2020-10-16 02:01:07 +03:00
Dragory
1889027bd9
Add error handler for Eris errors
...
Previously this was done within Knub, but Knub no longer
automatically places an error handler for Eris since v30.0.0-beta.24
2020-10-13 19:49:34 +03:00
Dragory
b4bed82a30
Cap delay strings to 100 years
...
This is to avoid issues with max date values and other similar edge
cases. This was an issue when accidentally passing a user ID as the
time value for e.g. reminders.
2020-10-13 19:45:41 +03:00
Dragory
3d994e1aea
mod_actions: fix possible embed size overflow in user !cases
2020-10-13 19:26:16 +03:00