Commit Graph

55 Commits

Author SHA1 Message Date
mavolin 40a61dab98
State: resolve errors 2020-05-12 05:06:28 +02:00
diamondburned (Forefront) d82aa60fdc Utils: Added extra wsutil logging 2020-05-11 16:57:40 -07:00
diamondburned (Forefront) eb09447323 State: Fixed a data race for (*DefaultStore).Messages() 2020-05-07 12:39:47 -07:00
diamondburned (Forefront) ea7e0d6229 State: Separated DiffMessage for reusability 2020-05-05 20:26:05 -07:00
diamondburned (Forefront) af682d3f35 API: WithContext documentation 2020-05-03 14:04:09 -07:00
diamondburned (Forefront) a0bccd9c35 API: Added WithContext API, closes #15 2020-05-03 14:02:03 -07:00
diamondburned (Forefront) 536018b5f8 State: Fixed VoiceStateSet 2020-04-21 15:38:31 -07:00
diamondburned (Forefront) 5acfe9c981 State: Fixed voice states store being nil 2020-04-21 15:32:15 -07:00
diamondburned (Forefront) d4d8172d26 State: Added VoiceStates 2020-04-20 11:03:15 -07:00
Matthew Penner 5845348e47 Make only get voice state return ErrNotImplemented 2020-04-18 20:58:32 -06:00
Matthew Penner b6c167970a Add VoiceStates returned on GuildCreate and Ready to the state cache 2020-04-18 20:34:25 -06:00
Matthew Penner 9686a41539 Add voice state caching 2020-04-18 20:22:49 -06:00
diamondburned (Forefront) e95227d3f5 State: Fixed reaction adds not being updated 2020-04-12 21:25:22 -07:00
diamondburned (Forefront) 7905e2138b Fixed tests that broke because of previous breaking change 2020-04-12 16:24:28 -07:00
diamondburned (Forefront) 9873d475aa State: Added Reaction state handlers 2020-04-12 16:14:27 -07:00
diamondburned (Forefront) 3ee307b788 Bot: Added Usager, improved help 2020-04-08 21:25:50 -07:00
diamondburned (Forefront) 6dafb30401 State: Added more wrappers for direct messaging channels 2020-04-07 19:33:56 -07:00
diamondburned (Forefront) 58f0feb143 State: Unavailable guilds are no longer added into the state 2020-04-06 13:27:33 -07:00
diamondburned (Forefront) 1e400dfc27 Store: Small bug fixes related to the state store 2020-03-29 10:50:37 -07:00
diamondburned (Forefront) 1b785b1c38 State: Added guild emoji handlers 2020-03-11 19:41:14 -07:00
diamondburned (Forefront) 69f8a5d6ec State: Fixed DefaultStore's Channel() not finding DMs 2020-03-10 20:44:35 -07:00
diamondburned (Forefront) 04a33c3ee4 State: Added a noop state store for convenience. 2020-02-29 19:09:03 -08:00
diamondburned (Forefront) 0cd486fc38 Revert "Gateway: State refactored into smaller components"
This reverts commit 11465c62bd.
2020-02-29 18:54:14 -08:00
diamondburned (Forefront) 11465c62bd Gateway: State refactored into smaller components 2020-02-29 18:50:50 -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) 79c4c1caca Gateway/State: Added message acking and more user update events for State 2020-02-24 21:50:13 -08:00
diamondburned (Forefront) 688248346b State: Added handlers for PresencesReplaceEvent 2020-02-23 20:11:33 -08:00
diamondburned (Forefront) 1201652aa1 State: Fixed default store messages not working properly 2020-02-21 22:03:44 -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 (Forefront) 8e3826e5d6 State: Fixed an error related to the last commit 2020-02-10 20:28:36 -08:00
diamondburned (Forefront) 165ef71cb5 State: Changed Self to Me for consistency 2020-02-08 11:51:00 -08:00
diamondburned (Forefront) 91e213135c State: Changed Self to Me for consistency 2020-02-08 11:48:45 -08:00
diamondburned (Forefront) 5acf01d984 State: Fixed bug where range values are dereferenced incorrectly
https://github.com/golang/go/wiki/CommonMistakes#using-reference-to-loop-iterator-variable
2020-02-07 00:22:41 -08:00
diamondburned (Forefront) cea3e47c27 discord: Fixed APIString method for emoji 2020-01-25 00:05:14 -08:00
diamondburned (Forefront) ea9f2c2036 Fixed Webhook Update event 2020-01-24 21:24:33 -08:00
diamondburned (Forefront) 7e73f00eb9 Fixed bug where ParseContent interface methods won't return a proper error 2020-01-20 20:25:47 -08:00
diamondburned (Forefront) c7d33f5dcc Added some helper functions 2020-01-20 17:06:51 -08:00
diamondburned (Forefront) 075980582e Message state now consistently have GuildIDs, fixed stack recursion bug, added MemberColo 2020-01-20 15:22:34 -08:00
diamondburned (Forefront) 2cd9def778 Fixed a potential race condition in the default state storage 2020-01-20 01:42:03 -08:00
diamondburned (Forefront) 1746065f70 Separated state errors into a separate no-op logger 2020-01-20 01:06:47 -08:00
diamondburned (Forefront) 27e315ca66 Fixed bug where message state would screw up 2020-01-20 00:53:23 -08:00
diamondburned (Forefront) 7261cb2b68 Fixed bug where Guilds state is never populated 2020-01-19 23:13:05 -08:00
diamondburned (Forefront) ac685b0df4 Minor fixes, undocumented things, and editorconfig 2020-01-19 13:54:16 -08:00
diamondburned (Forefront) 28228a60f5 Ported rfrouter over 2020-01-18 22:06:00 -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) 958f592cb4 Finished state 2020-01-18 11:34:08 -08:00
diamondburned (Forefront) 5b25f0cdb4 Expanded docs 2020-01-17 23:45:44 -08:00
diamondburned (Forefront) 345ef44e6c SetSelf -> SelfSet 2020-01-17 23:10:42 -08:00