Commit Graph

64 Commits

Author SHA1 Message Date
kozabrada123 27ff0116d6 Add GuildScheduledEvent Events (pt 2) 2023-05-22 16:46:49 +02:00
kozabrada123 9ee0b51757 Add Guild Audit Log Entry Create 2023-05-20 13:03:44 +02:00
kozabrada123 5550186ca3 Add Invite Create & Delete 2023-05-20 12:50:05 +02:00
kozabrada123 c2320b263b Add Passive Update V1 2023-05-20 09:35:48 +02:00
kozabrada123 ea4dfc82d5 Update dependencies, deserialize errors 2023-05-20 08:39:02 +02:00
kozabrada123 dad2ad3bec Solve deserialization problem semi optimally 2023-05-17 18:16:47 +02:00
kozabrada123 048a74f0d1 Revert "Deserialize from String" (Ugh)
This reverts commit 3b21445e34.

If course I can't just do that, ugh
Keeping the formatting would require using RawValue, but as we use one struct for sending an recieving, having to make RawValue to send would be pretty dumb
2023-05-17 17:24:29 +02:00
kozabrada123 3b21445e34 Deserialize from String instead of Value 2023-05-17 17:03:03 +02:00
kozabrada123 2b22c50a89 Some minor changes 2023-05-17 16:24:04 +02:00
kozabrada123 28d3a7d924 Fix some deser errors, add CHANNEL_UNREAD_UPDATE 2023-05-15 20:45:33 +02:00
kozabrada123 02570b8c91 Fix some gateway deserialization errors 2023-05-14 19:55:43 +02:00
kozabrada123 c7dea3a81b Add some Guild, Integration and Webhook events 2023-05-14 15:55:20 +02:00
kozabrada123 1930229a90 Add Readies to Events, try to fix msg_create error 2023-05-14 14:03:18 +02:00
kozabrada123 e641ab0bbd Flatten, new events 2023-05-14 11:43:17 +02:00
kozabrada123 1e3ea8a072 Add call update and delete 2023-05-14 08:39:23 +02:00
kozabrada123 5bece07ab7 Add more events, fix deserialization errors 2023-05-14 08:20:25 +02:00
kozabrada123 9963fd8a33 Add channel and thread types, start guild 2023-05-13 21:27:44 +02:00
kozabrada123 9f8ff96d1b Small changes for merging 2023-05-13 16:43:29 +02:00
kozabrada123 665507653e Warnings 2023-05-13 16:35:42 +02:00
kozabrada123 ac38c57ada WebSocketConnection are no longer used 2023-05-13 16:34:05 +02:00
kozabrada123 3cac8c18c0 Add a few more gateway events 2023-05-13 16:24:34 +02:00
kozabrada123 b8f649b04b Add rest of send events 2023-05-13 15:59:46 +02:00
kozabrada123 43f77245a1 Small unit test update 2023-05-13 15:36:29 +02:00
kozabrada123 184c12ab46 Remove terrible debug messages 2023-05-13 09:54:23 +02:00
kozabrada123 6c6adabb49 Fix nested task issues 2023-05-13 09:47:12 +02:00
kozabrada123 4008d36763 Attempted reimpl 2023-05-11 22:47:31 +02:00
kozabrada123 9962dfdf81
Merge branch 'feature/gateway-observer' into main 2023-05-09 18:35:53 +00:00
bitfl0wer 59be7b1cde
Removed empty lines of code 2023-05-09 14:04:34 +02:00
kozabrada123 d1e8cb2d5c Less spam debug log 2023-05-07 12:44:11 +02:00
bitfl0wer 54944fbb0e
Run clippy 2023-05-07 12:41:14 +02:00
kozabrada123 ea6bacd7b8 Rethink websockets, fix thread blocks 2023-05-07 11:58:12 +02:00
kozabrada123 4cfcf859a3 Add a debug to heartbeat thread 2023-05-06 11:14:38 +02:00
kozabrada123 45a2dc0b2b Update Websocket to fix premature closing w 1006 2023-05-06 10:39:58 +02:00
kozabrada123 d4be173854 Slight code cleanup 2023-05-06 08:39:41 +02:00
kozabrada123 18590ff075 Fix encoding wrong 2023-05-05 20:58:00 +02:00
kozabrada123 867da4fd31 Remove the dumb test stuff I left in 2023-05-05 20:28:47 +02:00
kozabrada123 f612345484 Give websocket a send and receive channel 2023-05-05 20:26:51 +02:00
kozabrada123 ae062dfc17 Add temp debug, remove unused token 2023-05-05 19:42:31 +02:00
kozabrada123 9015538af5 Experimental sending to gateway 2023-05-05 19:23:57 +02:00
kozabrada123 50c4c1a542 Experimental heartbeats 2023-05-05 18:38:04 +02:00
kozabrada123 c57122a94b Add gateway Ready event 2023-05-05 16:08:12 +02:00
kozabrada123 07e500d063 Update data for existing events 2023-05-05 15:46:45 +02:00
kozabrada123 0f4e623acd No need to serialize this 2023-05-05 15:39:11 +02:00
kozabrada123 f3f0619d3f Add basic event receiving 2023-05-04 20:57:45 +02:00
kozabrada123 f5502a8121 Add WebSocketConnection to Gateway 2023-05-04 20:05:33 +02:00
bitfl0wer c2801acfdb
Remove unused imports 2023-05-03 21:06:01 +02:00
bitfl0wer fc5a053888
fix build fail by commenting out unused stuff 2023-05-03 21:05:09 +02:00
bitfl0wer 66ab87db30
Merge remote-tracking branch 'origin/feature/sending-messages' 2023-05-03 17:39:57 +02:00
bitfl0wer 685fe3ff1a
cargo clippy --fix 2023-05-03 16:38:42 +02:00
bitfl0wer c6e6f34be3
add example threaded websocketconnection 2023-04-30 14:45:15 +02:00