Commit graph

1545 commits

Author SHA1 Message Date
Dragory
b74c7fae43
Disable mentions in !list_dashboard_users 2021-01-17 21:24:45 +02:00
Dragory
564aaaded0
Add allowedMentions parameter to sendSuccessMessage()/sendErrorMessage() 2021-01-17 21:24:23 +02:00
Dragory
edaeb7ef0e
Add proper types to sendErrorMessage() 2021-01-17 21:21:18 +02:00
Dragory
6896afebfa
Add proper types to sendSuccessMessage() 2021-01-17 21:05:11 +02:00
Dragory
1a5fe949af
Add !list_dashboard_users 2021-01-17 20:58:09 +02:00
Dragory
5f5113ee84
Allow specifying first user's ID in !addserver 2021-01-17 20:52:25 +02:00
Dragory
506565b20b
Don't bind to a specific ip when debugging 2021-01-17 20:51:27 +02:00
Dragory
f4b13529c6
logs: fix excluded_categories not working 2020-12-24 00:48:04 +02:00
Dragory
da820ae3d7
Fix ANSI quotes in migration 2020-12-23 19:43:14 +02:00
Dragory
e0a19331c3
Fix 6am mistakes 2020-12-23 15:56:49 +02:00
Dragory
0f9c67a1c1
Fix members leaving being logged as kicks 2020-12-23 06:00:45 +02:00
Dragory
e1e1854041
Fix race conditions and duplicate stars in starboard 2020-12-23 05:28:21 +02:00
Dragory
1484f6b9a7
mod_actions: add create_cases_for_manual_actions option
This can also be used with a user override.
The override user is the audit log entry's author, i.e. the user who
did the kick/ban/unban.
2020-12-23 04:44:46 +02:00
Dragory
17e388ff48
cases: allow using user overrides for log_automatic_actions 2020-12-23 04:27:58 +02:00
Dragory
9883610a3b
starboard: add star count to embed, update automatically 2020-12-23 03:47:43 +02:00
Dragory
5ec33848b4
starboard: note if the message contains audio or video attachments 2020-12-23 02:57:12 +02:00
Dragory
867155019e
starboard: use embed thumbnails as image if there is no image 2020-12-23 02:39:44 +02:00
Dragory
b616b6a02a
starboard: don't include image link when discord hides it 2020-12-23 02:37:08 +02:00
Dragory
ff98670cf5
Improve empty message detection when rendering tags 2020-12-23 02:27:45 +02:00
Dragory
3def728ab5
Improve permission level error in !ban 2020-12-22 22:13:08 +02:00
Dragory
fec2b49129
Improve !ban error messages 2020-12-22 22:10:41 +02:00
Dragory
f4fc46d6eb
Remove unused log type AUTOMOD_SPAM_NEW 2020-12-21 21:37:18 +02:00
Dragory
fc7537318f
Add dependabot.yml 2020-12-20 18:46:09 +02:00
Nils
b2a53b0722
Add locks to starboard and include example of level-only starring (#125) 2020-12-20 18:32:24 +02:00
Nils
adc8959836
Add canActOn check to !vcmoveall and more verbose error handling (#137) 2020-12-20 18:31:28 +02:00
Dragory
3c3a819aba
Fix dashboard compilation error 2020-12-19 04:55:43 +02:00
Dragory
83abc8506e
Fix 'half-mobile' styles in docs 2020-12-19 04:53:59 +02:00
Dragory
868e826185
Fix error when unloading Logs plugin 2020-12-19 03:49:21 +02:00
Dragory
432ed8cbcf
Only log disabled regexes to stderr, not every timeout 2020-12-19 03:14:49 +02:00
Dragory
81c696d10d
Tweak RegExpRunner timeouts to be less strict 2020-12-19 03:14:22 +02:00
Dragory
783a3ff26d
Make timeouts less noisy in stderr 2020-12-19 03:09:24 +02:00
Dragory
1f79ee6939
Handle more connection error events gracefully 2020-12-19 03:07:41 +02:00
Dragory
2b1a86bf0e
Fix stderr formatting of ErisError 2020-12-19 03:06:21 +02:00
Dragory
a60cb92b74
Fix logic error in case creation for manual kicks 2020-12-19 02:59:41 +02:00
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