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

456 commits

Author SHA1 Message Date
diamondburned 107c6a6563
Merge pull request #26 from mavolin/25-retries-on-error 2020-05-07 10:02:19 -07:00
mavolin e7c1c891fb
Utils: Create Constant for HTTP status code 429 2020-05-07 18:49:07 +02:00
mavolin c7a392f836
Utils: Fix #25 2020-05-07 18:36:15 +02:00
diamondburned (Forefront) 73ba62605b Gateway: Fixed EOF not reconnecting bug 2020-05-06 16:06:06 -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) 85c1326526 Bot: Added ArgsParser for each Context instead of global 2020-05-05 23:23:52 -07:00
diamondburned (Forefront) 7dbdc78d67 Bot: Added package infer for getting IDs from unknown structs 2020-05-05 23:15:25 -07:00
diamondburned (Forefront) 9219d2fc40 Merge branch 'master' of github.com:diamondburned/arikawa 2020-05-05 20:28:07 -07:00
diamondburned (Forefront) ea7e0d6229 State: Separated DiffMessage for reusability 2020-05-05 20:26:05 -07:00
diamondburned aab7d39c2d
Merge pull request #19 from erebid/master
This PR fixes a mistake with iota, which caused all constants to be incorrect.
2020-05-05 18:11:23 -07:00
Samuel Hernandez d252ad1db3
Discord: Fix UserFlags constants for good 2020-05-05 21:08:40 -04:00
diamondburned (Forefront) cb525ca5c0 Utils: Fixed a nil dereference bug 2020-05-05 15:36:14 -07:00
diamondburned (Forefront) 0c24ac627b Utils: Fixed bug where retries aren't applied options again, causing rate limits 2020-05-05 15:32:28 -07:00
diamondburned (Forefront) 3536ae4cb6 Discord: Added a helper HasFlag function 2020-05-04 23:13:15 -07:00
diamondburned 9a8b9baa9b
Merge pull request #18 from erebid/add-publicflags 2020-05-04 22:45:46 -07:00
Samuel Hernandez becc1e129a
Discord: Added PublicFlags to User
In the Discord API, User objects were recently given a public_flags
property that bots can access (without OAuth). I've added a field to the
User struct for this.
2020-05-05 01:34:45 -04:00
diamondburned (Forefront) d4fd61c24b Discord: Fixed invalid iota for UserFlags 2020-05-04 20:36:39 -07:00
diamondburned (Forefront) 88eb0a6d85 Discord: Added missing UserFlags constants, fixed overflow 2020-05-04 20:22:06 -07:00
diamondburned (Forefront) f6a6178286 Updated Discord endpoints to discord.com 2020-05-04 12:08:55 -07:00
diamondburned (Forefront) d3574c2d7c Bot: Added arguments.Joined 2020-05-04 00:14:11 -07:00
diamondburned (Forefront) 25ecbb0ca5 Bot: Fixed RawArguments, added more tests for that 2020-05-03 23:48:12 -07:00
diamondburned (Forefront) 90bf9d74e3 Bot: Fixed bug where RawArguments still have the command 2020-05-03 22:57:44 -07:00
diamondburned (Forefront) 4a14c4d059 Bot: Allow variadic functions to have empty trailing arguments 2020-05-03 21:22:19 -07:00
diamondburned (Forefront) 6ece6e72ff API: Added 'Raw' which describes that type better 2020-05-03 19:13:58 -07:00
diamondburned (Forefront) be99041a03 Bot: API breakage to indicate changes 2020-05-03 19:12:44 -07:00
diamondburned (Forefront) e9d81f67eb Cleaned up go.sum 2020-05-03 18:36:04 -07:00
diamondburned (Forefront) cf48bd8543 Bot: Variadic arguments are now ellipsized in help 2020-05-03 18:35:51 -07:00
diamondburned (Forefront) b122aa6561 Bot: Added trailing manual parser support 2020-05-03 18:33:24 -07:00
diamondburned (Forefront) 3b903dce68 Bot: Added variadic arguments support 2020-05-03 15:59:10 -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) 892c88d808 CI bugs out if token is not provided, fixed that 2020-05-03 12:02:13 -07:00
diamondburned (Forefront) 10bdb19f68 Added a root package to allow go get 2020-04-27 11:41:28 -07:00
diamondburned (Forefront) 5a07d097da CI: Added coverage for integration tests 2020-04-26 18:21:52 -07:00
diamondburned (Forefront) c1ace1829b API: Added an integration test for React 2020-04-26 17:27:08 -07:00
diamondburned (Forefront) 51e88a47b2 Gateway/Voice: Improved the event loop, fixed race conditions 2020-04-25 00:13:07 -07:00
diamondburned (Forefront) 5305600187 Added voice integration testing, re-enabled integration tests 2020-04-24 21:27:44 -07:00
diamondburned (Forefront) cc153e1715 Voice: Updated package description 2020-04-24 20:29:14 -07:00
diamondburned (Forefront) f2d93fe2ba Voice: Updated README 2020-04-24 20:14:06 -07:00
diamondburned ccf4c69801
Merge pull request #14 from matthewpi/feature/voice 2020-04-24 19:58:26 -07:00
Matthew Penner 327639e053
Merge pull request #1 from diamondburned/feature/voice2
Voice: refactored connection into 2 packages
2020-04-24 20:46:34 -06: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) 95624292f7 Gateway: Deprecated OP chan API, use PacerLoop.Extras instead 2020-04-24 15:32:14 -07:00
diamondburned (Forefront) 54ac0a6951 Gateway: Migrated to wsutil.PacemakerLoop 2020-04-24 15:30:15 -07:00
diamondburned (Forefront) 443ec791af Heart: Moved PacemakerLoop to wsutil, changed Gateway abstractions to generic ones 2020-04-24 15:09:05 -07:00
diamondburned (Forefront) 2f076c041e Gateway: Migrated functions and variables to other packages, added JSON default codecs 2020-04-23 23:34:08 -07:00
diamondburned (Forefront) c0c17085ba Heart: Migrated Voice to PacemakerLoop 2020-04-23 20:52:18 -07:00
diamondburned (Forefront) 4cfde32531 Voice: Added an integration test 2020-04-23 20:52:12 -07:00