Commit graph

95 commits

Author SHA1 Message Date
Dragory
617a4ea7fc
Centralize archive deletion loop; stagger different centralized loops slightly 2021-09-25 21:53:48 +03:00
Dragory
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
57ed43b018
Add rate limit logging 2021-09-12 00:17:26 +03:00
Dragory
07f23d4137
Add adhoc REST call debug stats 2021-09-11 21:14:47 +03:00
Dragory
f5d1bbee90
Remove some debug code 2021-09-11 19:22:25 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
f13695c524
Add command to add servers from invites with eligibility check 2021-09-05 17:07:50 +03:00
Dragory
5e13938f60
More++ debug 2021-09-04 21:02:55 +03:00
Dragory
d0139f6c2e
Don't crash on PluginNotLoadedError 2021-08-20 22:13:02 +03:00
Dragory
3a7aaecf92
Suppress unknown override criteria errors temporarily 2021-08-20 21:40:07 +03:00
Dragory
6e4bc17dae
Reduce d.js debug event logging 2021-08-20 21:38:35 +03:00
Dragory
c86abb04a0
Remove REST request debug logging 2021-08-20 20:02:18 +03:00
Dragory
187e8235be
Add REST request/429 debugging, temporarily disable message fetch hotfix 2021-08-19 21:15:31 +03:00
Dragory
f27a188535
+tweak 2021-08-19 01:52:24 +03:00
Dragory
3ff5590744
Tweak 2021-08-19 01:44:06 +03:00
Miikka
83e4947429
Desperate hotfix attempt 2021-08-19 01:37:25 +03:00
Dragory
499511f79d
Fix 429 string check 2021-08-19 00:01:29 +03:00
Dragory
f07ed57210
Add more debug logging 2021-08-19 00:00:16 +03:00
Dragory
d9d864698e
Re-enable restGlobalRateLimit: 50 2021-08-18 23:58:25 +03:00
Dragory
3c96cad8c6
Add bail-out after too many 429 errors 2021-08-18 23:57:44 +03:00
Dragory
ef118437f5
Fix 429/rate limit logging 2021-08-18 23:20:31 +03:00
Dragory
c589ed138f
Hotfix 8 2021-08-18 22:35:51 +03:00
Dragory
b405b14e36
Hotfix 7 2021-08-18 22:33:13 +03:00
Dragory
7870b3257b
Hotfix 5 2021-08-18 22:24:23 +03:00
Dragory
0e7cf9715f
Thread fixes 2021-08-18 20:47:24 +03:00
Dragory
cb8d914fef
Disallow anchors/aliases to objects when loading config YAML 2021-08-14 18:22:29 +03:00
Dragory
59185e2297
Remove conflicting global HTMLElement type declaration
Discord.js depends on @discordjs/builders, which depends on @sindresorhus/is,
which references the "dom" library for TypeScript, which includes
a declaration for HTMLElement.
2021-08-14 15:48:18 +03:00
almeidx
a3e6e4f319
removed unnecessary conditional 2021-07-29 01:51:11 +01:00
almeidx
77b33c1858
renamed ErisError to DiscordJSError, use rateLimit event instead of debug, renamed the TOKEN variable back 2021-07-28 16:43:56 +01:00
Dark
c932269b7d
DJS Update, Full Import Cleanup 2021-07-25 14:32:08 +02:00
Dark
acb4913495
More fixes, change rest of stripObjectToScalars to configAccessibleObj 2021-07-21 22:14:09 +02:00
Dark
5e73d380c5
Update DJS 2021-07-04 17:41:44 +02:00
Dark
1ad70ffe1a
Change DiscordRESTError to DiscordAPIError 2021-06-30 23:06:02 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
43c23263f0
Properly order reaction roles 2021-06-06 02:41:06 +02:00
Dark
edcfd2333f
Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
9fc045cd38
Start move to d.js 2021-05-31 03:30:55 +02:00
Dragory
55b4e39b6e
Move ratelimiterOffset to rest.ratelimiterOffset 2021-05-23 18:34:23 +03:00
Dragory
2b3fc1dba8
Set Eris ratelimiterOffset to 150 in an attempt to avoid global 429s 2021-05-23 18:31:46 +03:00
Dragory
7a1779b43c
Disable mentions by default 2021-04-10 23:37:55 +03: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
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
785813f495
Clean up HTTP 500 errors in stderr 2020-12-17 03:51:59 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
0c73587b25
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