Commit Graph

106 Commits

Author SHA1 Message Date
diamondburned (Forefront) 33061e916f Gateway: Now waits for either READY or RESUMED before finishing Open() 2020-04-06 13:27:33 -07:00
diamondburned (Forefront) 9f5c2ac958 Gateway: Switched to gorilla/websocket, fixes #11 2020-04-06 13:27:29 -07:00
diamondburned (Forefront) b5f7af70f3 Gateway: Changed UpdateStatus to be more valid 2020-03-31 20:45:56 -07:00
diamondburned (Forefront) f71852604b Gateway: Fixed Since omitempty condition 2020-03-30 23:02:25 -07:00
diamondburned (Forefront) 727f23f8f4 Gateway: Added missing Activities slice in UpdateStatus 2020-03-30 22:22:32 -07:00
diamondburned (Forefront) c9829b9e28 Gateway: Fixed invalid Since type for UpdateStatusData 2020-03-30 21:46:03 -07:00
diamondburned (Forefront) 00481b5490 Gateway: Fixed UserNotification constants 2020-03-26 19:11:25 -07:00
diamondburned (Forefront) 85f8b44e7e Gateway: Updated UserNotification for Channel user settings 2020-03-26 17:04:14 -07:00
diamondburned (Forefront) 86b1120875 Gateway: Changed Notification to UserNotification to avoid confusion with discord.Notification 2020-03-26 17:03:19 -07:00
diamondburned (Forefront) 3a1b1c22fc Gateway: Added missing Notification constant and SupressRoles field 2020-03-26 16:28:43 -07:00
diamondburned (Forefront) 743a8a8fd9 API: Fixed FormatEmojiAPI 2020-03-22 15:23:29 -07:00
diamondburned (Forefront) b59d9bfed7 Arikawa: Updated /x/errors; Gateway: Added TestInvalidToken 2020-03-16 18:29:23 -07:00
diamondburned (Forefront) 8899462ff0 Gateway: Added undocumented GuildMemberListUpdate event 2020-03-15 22:55:45 -07:00
diamondburned (Forefront) 22ef50c499 Gateway: Fixed bug where WS errors block forever 2020-03-07 11:50:30 -08:00
diamondburned (Forefront) 403e4970f7 Gateway: Fixed a deadlocking mutex 2020-03-02 19:18:33 -08:00
diamondburned (Forefront) 0aebea60bd Gateway: Minor bug fixes 2020-03-01 16:39:40 -08:00
diamondburned (Forefront) f0102d765f Gateway: Added a retry limit
State: Event handlers now handle all of Ready's Guilds field
Session: Added Wait, which blocks until SIGINT or Gateway error
2020-02-29 18:13:58 -08:00
diamondburned (Forefront) 220eb5ff42 Gateway: Fixed OP chan not having a concrete type 2020-02-25 22:37:26 -08:00
diamondburned (Forefront) 79c4c1caca Gateway/State: Added message acking and more user update events for State 2020-02-24 21:50:13 -08:00
diamondburned (Forefront) 4a1d6ad456 Gateway: Added SESSIONS_REPLACE 2020-02-23 09:56:16 -08:00
diamondburned (Forefront) ce59298937 Gateway: Changed Intents' type from uint16 to uint32 for future constants 2020-02-21 23:38:51 -08:00
diamondburned (Forefront) 64aca9ea40 Gateway: Prepare for the new intents update
https://discordapp.com/developers/docs/topics/gateway#gateway-intents
2020-02-21 23:35:11 -08:00
diamondburned (Forefront) 587d36fd6c Gateway: Open now fails at once, only Reconnect retries forever. 2020-02-19 19:36:00 -08:00
diamondburned (Forefront) 7b24f58496 Gateway: Fixed typo in Request Members data 2020-02-17 13:11:48 -08:00
diamondburned (Forefront) 4e9bd53b0f Gateway: Added extra events 2020-02-15 21:29:25 -08:00
diamondburned (Forefront) 0de1e579f3 State: Author* methods now try and use Message.Member 2020-02-12 20:19:24 -08:00
diamondburned 76c7760c24 Gateway: Removed redundant context 2020-02-11 09:29:30 -08:00
diamondburned 3288f2d19c
Gateway: Fix race conditions and fatal reconnecting (#7) 2020-02-07 22:17:27 -08:00
diamondburned (Forefront) 0761dfabee Discord: Fixed invalid types for ReadyEvent's GuildFolders 2020-02-06 20:37:59 -08:00
diamondburned (Forefront) 85b793a1a7 Fixed some race conditions 2020-02-02 14:12:54 -08:00
diamondburned (Forefront) b62ba3ecc0 More race condition fixes 2020-01-28 19:54:22 -08:00
diamondburned (Forefront) 3770927a48 Bot: trivial fixes 2020-01-28 16:01:39 -08:00
diamondburned (Forefront) ea9f2c2036 Fixed Webhook Update event 2020-01-24 21:24:33 -08:00
diamondburned (Forefront) 7af350ba55 Added WebhooksUpdate event 2020-01-23 22:35:50 -08:00
diamondburned (Forefront) 3ca1d352c9 Fixed a ridiculous race condition in the gateway 2020-01-20 03:06:20 -08:00
diamondburned (Forefront) aa4154e73c Minor fixes that doesn't really fix anything 2020-01-20 01:32:28 -08:00
diamondburned (Forefront) 27e315ca66 Fixed bug where message state would screw up 2020-01-20 00:53:23 -08:00
diamondburned (Forefront) ac685b0df4 Minor fixes, undocumented things, and editorconfig 2020-01-19 13:54:16 -08:00
diamondburned (Forefront) 6b6f9f96aa When in doubt, use brute force. 2020-01-18 22:46:45 -08:00
diamondburned (Forefront) 841128dc88 Fixed gateway integration test 2020-01-18 22:34:52 -08:00
diamondburned (Forefront) 7f06d88d0f Updated heartbeat behavior 2020-01-18 22:22:03 -08:00
diamondburned (Forefront) 9651de81c6 Heartbeat can now resume, bot will fatal (die) if it can't reconnect 2020-01-18 22:14:46 -08:00
diamondburned (Forefront) a82d71ad3c Added more Gateway commands 2020-01-18 14:35:07 -08:00
diamondburned (Forefront) 5b0687bcd3 Added state example 2020-01-18 13:40:09 -08:00
diamondburned (Forefront) b11b3e1a42 Added state handlers 2020-01-18 13:04:12 -08:00
diamondburned (Forefront) 971c162d33 Fixed bug where reconnect would fail 2020-01-17 23:40:44 -08:00
diamondburned (Forefront) 7f5a470024 Fixed integration test 2020-01-17 23:20:05 -08:00
diamondburned (Forefront) a3a914ac4a Added timeouts to gateway integration tests 2020-01-17 23:13:50 -08:00
diamondburned 2dc983d243 Added simple example 2020-01-17 14:29:13 -08:00
diamondburned (Forefront) 478b66fffa Merge branch 'master' of ssh://github.com/diamondburned/arikawa 2020-01-15 20:44:30 -08:00
diamondburned (Forefront) ef0dd9beef Added API integration tests 2020-01-15 20:44:11 -08:00
diamondburned d1341b61b3
Gateway integration test + Bug fixes 2020-01-15 19:28:21 -08:00
diamondburned 127c636310 Moved misc packages to internal 2020-01-15 10:32:54 -08:00
diamondburned (Forefront) 03d226e23d WIP integration test 2020-01-14 23:34:18 -08:00
diamondburned (Forefront) 9f643fee7a Minor fixes, package synopsis 2020-01-14 21:00:24 -08:00
diamondburned 8fc7229c3f
Added an untested Gateway package 2020-01-14 20:43:34 -08:00