1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-16 03:44:26 +00:00
Commit graph

38 commits

Author SHA1 Message Date
diamondburned 331ec59dec discord: Refactor interactions and components
This commit gets rid of contain-it-all structs and instead opt for
interface union types containing underlying concrete types with no
overloading.

The code is much more verbose by doing this, but the API is much nicer
to use. The only disadvantage in that regard is the interface assertion
being too verbose and risky for users at times.
2021-11-12 11:38:36 -08:00
Hamza Ali 028a341597
*: Update go dependencies 2021-11-09 14:49:18 -08:00
Samuel Hernandez 40e1a3757d *: Migrated Go Modules to v3 2021-06-01 19:59:01 -07:00
diamondburned 157d64b423 Moreatomic: Replaced invalid mutex with modified sync.Map impl 2020-12-19 02:35:13 -08:00
diamondburned 36c2f166be Moreatomic: Fixed upgradable mutex usage 2020-12-18 23:57:56 -08:00
diamondburned 3ddb472644 Moreatomic: Cave in and use upgradable mutex over sync.Map 2020-12-18 23:47:47 -08:00
diamondburned e755ea4260 *: Updated dependencies and dismock CI tests 2020-11-22 15:04:36 -08:00
diamondburned 75df94d9f4 *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
diamondburned (Forefront) 9ce0620652 Cleaned up go.mod 2020-06-01 13:52:15 -07:00
diamondburned (Forefront) bafeb1082a CI: Added Dismock, better coverage parsing 2020-05-30 14:32:23 -07:00
diamondburned (Forefront) f22d6eaa9f Utils/API: Replaced semaphore-mutex API 2020-05-06 00:40:31 -07:00
diamondburned (Forefront) e07784a03a Utils: Swapped go-csync with /x/sync/semaphore 2020-05-06 00:32:21 -07:00
diamondburned (Forefront) 450a112878 Utils: Removed go-deadlock dependency meant to be used for debugging 2020-05-06 00:20:25 -07:00
diamondburned (Forefront) 10bdb19f68 Added a root package to allow go get 2020-04-27 11:41:28 -07:00
diamondburned (Forefront) c1ace1829b API: Added an integration test for React 2020-04-26 17:27:08 -07:00
diamondburned (Forefront) 3005c7b44a Voice: Separated UDP and WS into packages, added io.Writer API 2020-04-24 19:36:33 -07:00
diamondburned (Forefront) 4cfde32531 Voice: Added an integration test 2020-04-23 20:52:12 -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) b59d9bfed7 Arikawa: Updated /x/errors; Gateway: Added TestInvalidToken 2020-03-16 18:29:23 -07:00
diamondburned (Forefront) f33dc2ee75 API: Fixed major rate limiters not working 2020-02-09 12:54:16 -08:00
diamondburned (Forefront) 78ea6f7d9c Removed go-spew dependency 2020-02-04 21:20:12 -08:00
diamondburned (Forefront) 85b793a1a7 Fixed some race conditions 2020-02-02 14:12:54 -08:00
diamondburned (Forefront) 6255d1d1d5 Tidied go.mod 2020-01-25 22:15:49 -08:00
diamondburned (Forefront) afe1b4621f Bot: parser changed to a slimmed down version 2020-01-25 22:15:39 -08:00
diamondburned (Forefront) f8a1bfe4bc Tidied go.mod 2020-01-25 21:58:15 -08:00
diamondburned (Forefront) 0751f45bdb Bot: changed to a better command parser 2020-01-25 21:58:06 -08:00
diamondburned (Forefront) ea9f2c2036 Fixed Webhook Update event 2020-01-24 21:24:33 -08:00
diamondburned (Forefront) 6fb68be631 More Reaction API changes 2020-01-22 21:13:53 -08:00
diamondburned (Forefront) 73f5cdec9e Added HTTP retry, fixed async JSON body corrupting 2020-01-20 11:28:55 -08:00
diamondburned (Forefront) 03d226e23d WIP integration test 2020-01-14 23:34:18 -08:00
diamondburned 8fc7229c3f
Added an untested Gateway package 2020-01-14 20:43:34 -08:00
diamondburned (Forefront) 67450c4872 Added wsutil 2020-01-08 21:24:45 -08:00
diamondburned (Forefront) e4cd4f9b69 Experimenting with rate limits 2020-01-07 23:10:37 -08:00
diamondburned (Forefront) a386f6a359 More things, what a pain in the ass 2020-01-05 19:48:39 -08:00
diamondburned b77d5f20da Fixed package header pointing to sourcehut instead of GitHub 2020-01-02 11:55:45 -08:00
diamondburned e41a2c7c42 Moved Discord structs to package discord 2020-01-02 11:53:08 -08:00
diamondburned 09d9651507 Initial commit 2020-01-01 21:39:52 -08:00