Commit graph

1611 commits

Author SHA1 Message Date
Dragory
14bebfe405
Remove stderr for missing permissions to post mod cases
This is generally only relevant to the server admins, and is already
logged as a BOT_ALERT for them.
2020-12-18 05:26:33 +02:00
Dragory
266e951f40
Extend HTTP 500 error handling to all 5xx codes 2020-12-18 05:25:27 +02:00
Dragory
1a3d6d2fd9
Handle eris errors in common error handler 2020-12-18 05:24:07 +02:00
Dragory
3538d6c66a
Change plugin/discord error tolerance from 5/12.5s to 5/10s 2020-12-18 05:08:51 +02:00
Dragory
5a1926439b
Pass unhandled rejections to main error handler 2020-12-18 05:07:55 +02:00
Dragory
b95f83985e
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
646fb8d67c
Apply code style from prettier 2020-12-17 04:15:08 +02:00
Dragory
b9dde47a9e
Fix several locations that expected resolveUser() to return null 2020-12-17 04:12:49 +02:00
Dragory
d35564eac8
Fix crash from invalid user id in !addcase 2020-12-17 04:10:36 +02:00
Dragory
785813f495
Clean up HTTP 500 errors in stderr 2020-12-17 03:51:59 +02:00
Dragory
ac7935e24d
Fix muteUser() sometimes operating on stale member info 2020-12-17 03:50:02 +02:00
Dragory
4a555823fc
Fix resolveUser() returning null in contrast to its typings 2020-12-17 03:46:52 +02:00
Dragory
116c33e341
Fix crash if automod alert message fails to render 2020-12-17 03:44:42 +02:00
Dragory
5056b4376a
Add pagination to !cases -mod 2020-12-15 15:18:08 +02:00
Dragory
0c6ec9cef0
Add utility function to create paginated messages 2020-12-15 15:13:31 +02:00
Dragory
f93a7014a9
Fix !cases -mod giving an error about unknown member 2020-12-15 14:47:17 +02:00
Dragory
7ecadc1aa0
docs: fix mobile menu not closing when clicking a link 2020-12-13 23:33:33 +02:00
Dragory
6ecc5b69a1
docs: more accessibility tweaks 2020-12-13 23:18:19 +02:00
Dragory
0b9defc5d3
Fix menu on desktop 2020-12-13 23:11:23 +02:00
Dragory
844faf7faa
docs: accessibility improvements 2020-12-13 22:33:25 +02:00
Dragory
fb2fc677be
Quick fix for build 2020-12-13 22:16:55 +02:00
Dragory
ba4be8cbf5
Type error fix 2020-12-13 22:11:16 +02:00
Dragory
864b57aac1
Make docs more mobile friendly 2020-12-13 22:11:04 +02:00
Dragory
7700afda2b
Update tailwindcss to 1.9.6 2020-12-13 22:06:15 +02:00
Dragory
32fd04f9a2
Type fix 2020-12-13 15:28:00 +02:00
Dragory
4dfc7ccfa9
Update to TS 4.1, use same TS package in all sub-packages 2020-12-13 15:26:33 +02:00
Jonathan
eb4d5ea6f1
List message author IDs in bulk deletes logs (#109) 2020-12-12 22:31:35 +02:00
Nils
ec3bf2739d
Add moderator variable to mod action templates (#119) 2020-12-12 22:29:08 +02:00
vcokltfre
497b76296d
feat: add requested 'whois' as alias for !user (#122) 2020-12-12 22:24:09 +02:00
Nils
160bd4356e
Make !clean ignore pins by default, explicit -delete-pins/-p option to delete them (#121) 2020-12-12 22:23:53 +02:00
Jonathan
c38bb99e93
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
809a72044f
Add command to move all VC Members to another VC (#126) 2020-12-12 22:15:15 +02:00
Miikka
f8248c65a2
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
138bc05402
Fix automod warns, kicks, and bans not using default contact methods 2020-12-03 16:55:53 +02:00
Dragory
2d749730a6
Fix automod mutes not using default contact methods 2020-12-03 16:47:11 +02:00
Dragory
e7efd48519
Add 'set_channel_permission_overrides' custom event action 2020-11-22 14:59:02 +02:00
Dragory
7839cc7da1
Add 'make_role_mentionable' and 'make_role_unmentionable' custom event actions 2020-11-22 14:14:17 +02:00
Dark
5e636b485a Allow ban to be upgraded to forceban if the member is not on the server 2020-11-20 02:31:31 +01:00
Dragory
bc5455bf9f
Fix accidental early return in match_invites automod trigger 2020-11-09 20:43:46 +02:00
Dragory
9480e82056
Add comment clarifying WithRequiredProps 2020-11-09 20:43:10 +02:00
Dragory
f3609aa8ab
Fix config parsing issues caused by RoleAddedTrigger/RoleRemovedTrigger default config 2020-11-09 20:12:54 +02:00
Dragory
2f50232cf3
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
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
690955a399
Update to Knub v30.0.0-beta.30 2020-11-09 20:03:38 +02:00
Dragory
fbe2028596
Update to Knub v30.0.0-beta.29, Eris custom branch 2020-11-09 18:52:30 +02:00
Dragory
c9892936cd
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
d65f5b99d7
Add exclude_bots option to log channels 2020-11-08 17:55:33 +02:00
Dragory
2650ab81a5
Add excluded_categories option to log channels 2020-11-08 17:52:56 +02:00
Dragory
303124a6eb
Update Knub to 30.0.0-beta.27, Eris to 0.14.0 (stickers fork) 2020-11-06 03:16:38 +02:00
Dragory
356c86f033
Include stickers in !source 2020-10-22 01:22:28 +03:00