Commit Graph

46 Commits

Author SHA1 Message Date
spiral
889e1a8331
Don't kill the gateway session when trying to resume
Sending a close code of 1000 or 1001 invalidates gateway sessions.
Instead, we use close code 1005 (no error specified)
2021-07-08 09:19:44 -04:00
spiral
a03b5a0c95
Add NuGet lock files
Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com>
2021-07-08 09:04:20 -04:00
spiral
af801e2b01
properly encode custom emojis in emoji API routes 2021-07-01 01:59:04 -04:00
spiral
c46177f2f5
Check if user is webhook in PermissionsFor 2021-06-14 09:57:58 -04:00
Ske
ae82bb4168 Updates to Elastic logging 2021-06-10 14:21:05 +02:00
Ske
26dc69e5a4 Add support for Twilight gateway queue 2021-06-09 16:22:10 +02:00
Ske
333530d24d Add a little leeway to shard identifying 2021-06-09 14:49:26 +02:00
Ske
d61f61fead Add basic support for multi-node clustering 2021-06-09 14:49:12 +02:00
Ske
6ea1309ae0 Attempt at a more resilient shard handler
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-09 12:26:15 +02:00
Ske
8740230c3d Add a few utility admin commands
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 19:37:44 +02:00
Ske
af5de7c892 Add new enum types for threads
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 18:43:43 +02:00
Ske
84e9b5e4db Fix type for WidgetChannelId field
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 18:38:00 +02:00
Ske
41f1c58a9f Merge branch 'new-shard-handler' 2021-06-08 10:20:59 +02:00
Ske
118f2d49a6 WIP new shard implementation 2021-06-08 10:19:54 +02:00
Ske
4bd2d06b0b Add basic interactivity framework 2021-05-30 16:45:45 +02:00
spiral
b894a9f86e
Set correct REST user-agent 2021-05-26 23:09:43 +01:00
spiral
ba6beab245
Add README for Myriad library 2021-05-26 23:06:55 +01:00
Ske
d7c0592947 Add preliminary support for buttons 2021-05-26 22:27:52 +02:00
Ske
dbde8c07ad Fix a few more compiler warnings
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-07 10:56:15 +02:00
Ske
dd2c669cd2 Fix some compiler warnings
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-07 10:48:19 +02:00
Ske
3d624b39e4 Add message editing command
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 12:33:30 +02:00
Ske
a2d2036851 Fix nullability for embeds
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-13 04:11:53 +02:00
Ske
c02a7572b3 i am good at programming 2021-03-21 16:03:42 +01:00
Ske
c5f56cd7dd Add correct serialization for gateway user status 2021-03-21 14:38:28 +01:00
Ske
ce790b13ae Fix DM events not having proper channel data 2021-03-21 14:22:55 +01:00
Ske
a63e75a490 Properly remake request object on retry 2021-03-21 14:15:13 +01:00
spiral
01ea0d9971
Add 'pk;msg <id|link> delete' 2021-03-21 09:45:26 +00:00
Ske
4ee0c13d62 Fix error on @ everyone 2021-03-18 11:34:35 +01:00
Ske
1c548e9d7b Fix messages in DMs 2021-03-18 11:28:11 +01:00
Ske
13e3289c26 Add config option for max shard concurrency 2021-03-18 09:47:58 +01:00
Ske
74424edc89 Refactor rate limit parser, fix locale also 2021-02-08 19:53:06 +01:00
Ske
18cf863834 Make rate limit parser more resilient 2021-02-08 16:30:18 +01:00
Ske
e7ae9dbe44 Respect shard concurrency limit 2021-02-01 14:26:39 +01:00
Ske
80c572f594 Fix various bugs and regressions 2021-01-31 16:02:34 +01:00
Ske
35433b0d82 Convert a few more things 2021-01-31 15:03:11 +01:00
Ske
5a52abed77 Convert Sentry enrichers 2021-01-31 14:50:10 +01:00
Ske
0c1bb6cc6a Convert message update handler 2021-01-31 14:42:28 +01:00
Ske
d56e878c28 Converted shard and logclean service 2021-01-30 01:07:43 +01:00
Ske
da9d84a197 Get rid of more D#+ references 2021-01-15 11:29:43 +01:00
Ske
9079f1c59c Port the DM stuff 2020-12-25 13:58:45 +01:00
Ske
a2c8cbb560 Add DM support 2020-12-25 13:19:35 +01:00
Ske
2e0c30eb5d Port some more commands, mostly for embeds 2020-12-25 12:56:46 +01:00
Ske
47b16dc51b Port more things! 2020-12-24 14:52:44 +01:00
Ske
f6fb8204bb Add embed builder, some more ported classes 2020-12-23 02:19:02 +01:00
Ske
05334f0d25 Converted enough to send the system card 2020-12-22 16:55:13 +01:00
Ske
a6fbd869be Initial commit, basic proxying working 2020-12-22 13:15:26 +01:00