Commit Graph

108 Commits

Author SHA1 Message Date
dank074 f5d6394c38 run prettier 2024-11-19 14:19:40 -06:00
Madeline 841b36112f Merge pull request #1232 from dank074/patch/eslintConfig 2024-11-14 16:02:00 +11:00
dank074 bcbd8234e5 fix op 8 2024-11-13 19:59:57 -06:00
dank074 f499507698 turn off eslint rules causing issues 2024-11-13 19:05:54 -06:00
Madeline c51595a6da Merge pull request #1214 from MathMan05/patch-2
Fix op 8
2024-11-05 09:06:40 +11:00
Emma [it/its]@Rory& e018b3ab1b Log rabbitmq channel allocations 2 2024-11-02 21:14:32 +01:00
Emma [it/its]@Rory& b2769812fa Log rabbitmq channel allocations 2024-11-02 21:06:18 +01:00
Emma [it/its]@Rory& e0d0022675 Update sentry to latest 2024-10-30 00:32:59 +01:00
Emma [it/its]@Rory& 25b0a221e1 Remove imports of erlpack in favor of @yukikaze-bot/erlpack due to the former not working on modern node 2024-10-30 00:32:59 +01:00
Emma [it/its]@Rory& 2feb90475e Fix module resolution when $CWD != . 2024-10-28 00:32:18 +01:00
Emma [it/its]@Rory& 3585e9316e Fall back to @yukikaze-bot/erlpack if erlpack cant be found or loaded 2024-10-09 05:08:37 +02:00
MathMan05 8d41348871 Fix op 8
Unless someone says this is wrong for some reason, this should fix op 8
2024-09-09 15:55:40 -05:00
TomatoCake 78ff85737f Merge branch 'spacebarchat:master' into fix/lazy-request-filter 2024-08-24 19:11:02 +02:00
TomatoCake e0b6dd0581 Fix bug & handle 75k/large_threshold in opcode 8
Also fixes a bug that only allowed "guild_id" and "user_ids" to be an Array instead of also a String

Co-Authored-By: Puyodead1 <puyodead@proton.me>
2024-08-18 06:45:11 +02:00
Cyber af36ea0bb5 fix: allow array in op 8 2024-08-17 11:22:37 +02:00
TomatoCake b0d46de170 Order by status & invisible/no session users 2024-08-17 07:10:40 +02:00
greysilly7 d028a785fe Fix: Logins Failing due to null client_status 2024-08-17 00:59:57 -04:00
TomatoCake 6196227ed8 Fix typo in Request Guild Members relation 2024-08-14 16:46:43 +02:00
TomatoCake ea3047890b Fix issues with requesting presences 2024-08-11 06:40:42 +02:00
TomatoCake f8a21eff0c Fix chunk_count & not_found 2024-08-10 20:59:05 +02:00
TomatoCake 2aa7f5bfe0 opcode 8 2024-08-09 08:08:55 +02:00
Puyodead1 939d1bd8d5 add notification_settings object to ready 2024-05-26 16:01:35 -04:00
Puyodead1 105b3de19e Revert "fix merged_members roles having everyone id"
This reverts commit ae5c71f39b.
2023-12-23 22:55:37 -05:00
Puyodead1 ae5c71f39b fix merged_members roles having everyone id 2023-12-23 22:16:34 -05:00
Puyodead1 9c8a80693d handle possibly null activities in session sort 2023-12-05 16:52:30 -05:00
Madeline 6bf4637a03 fucking postgres 2023-10-04 23:48:00 +11:00
Madeline 7795f1b36b refactor channel positions in guild 2023-10-04 23:40:05 +11:00
Madeline 09f5b4f0bb Fix identify throwing on invalid token instead of closing with auth failed close code 2023-09-02 21:05:27 +10:00
Madeline 2fc3c5dbd4 sentry db instrumentation for gateway events 2023-09-02 20:18:38 +10:00
Madeline 8a7ee8c8a9 what the fuck is session_id: "all"??? 2023-08-21 23:57:44 +10:00
Madeline ccc774168a Close #1091 2023-08-21 23:28:36 +10:00
Madeline 271460b02f Gateway close if user could not be fetched just send ID 2023-08-08 11:26:32 +10:00
Madeline 53aed18652 remove pomelo disclose, to be added in pomelo impl pr 2023-08-01 20:23:00 +10:00
Madeline 45e7d763cf lazyrequest dont crash when no members can be found in lazyrequest 2023-07-31 20:59:06 +10:00
Madeline 4c0b1391b1 send empty READY_SUPPLEMENTAL for client compatibility 2023-07-31 19:42:27 +10:00
Madeline a0d93fb252 * call toJSON of keys in gateway when using erlpack
* dont send bitrate/etc as null when should be undefined
* set user flags to number instead of string
* send empty 'threads' in identify when not using new state v2
2023-07-29 16:59:21 +10:00
Madeline f1f68c3d31 refactor checkToken 2023-07-28 09:26:18 +10:00
Madeline 8a3989c297 Merge branch 'master' into feat/refactorIdentify 2023-07-28 08:24:15 +10:00
Madeline bf079ffa7a Merge pull request #1066 from Zert3x/master
Fix a typo
2023-06-14 18:30:16 +10:00
Zert3x 09b163f8de Update Connection.ts 2023-05-28 21:40:21 -04:00
V3L0C1T13S 564d1a2fc9 feat: implement member list id generation 2023-05-24 12:02:03 -04:00
Puyodead1 0d666732c6 oapi: bug fixes 2023-04-13 15:41:23 -04:00
Madeline 5a6cb33f5e Merge branch 'master' into feat/refactorIdentify 2023-04-13 19:45:44 +10:00
Madeline f040caa712 Merge pull request #1026 from ochen1/patch-3
Add support for Discord's new endpoints to update roles
2023-04-11 13:20:09 +10:00
Madeline debfaea866 Use partition func instead + use Promise.all 2023-04-11 12:56:32 +10:00
ochen1 7327669672 Send guild name and icon of guild through Identify gateway opcode
These properties are mandatory as per the documentation:
https://discord.com/developers/docs/resources/guild#guild-object
2023-04-09 11:13:28 -06:00
Madeline df696d362a Close if already identified 2023-04-05 20:47:47 +10:00
Madeline 3e9e8aac3b Don't send random read state / guild settings version numbers 2023-04-04 00:16:10 +10:00
Madeline a476319fb4 Send d: {} in heartbeat ack 2023-04-04 00:15:37 +10:00
Madeline 6ee26082ef Respect CLIENT_STATE_V2 capability 2023-04-03 23:50:48 +10:00