1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-17 20:32:48 +00:00
Commit graph

321 commits

Author SHA1 Message Date
diamondburned (Forefront) 4e1dd8e2f4 API: Removed deprecated invite meta struct 2020-05-08 14:20:00 -07:00
diamondburned (Forefront) f9c962fb96 Discord: Added tests for Snowflake 2020-05-08 14:11:56 -07:00
diamondburned (Forefront) 2cad0e87b6 Discord: Marshalled Snowflakes are now -1 when null 2020-05-08 13:56:00 -07:00
diamondburned (Forefront) 55323ee753 Discord: Allow -1 null Snowflake, fixed snowflake time bug 2020-05-08 13:52:46 -07:00
diamondburned (Forefront) 3a43e413d8 Utils: Deprecated client-scoped JSON driver 2020-05-07 20:43:46 -07:00
diamondburned (Forefront) cd1dfa10a0 Discord: Removed an inappropriate comment 2020-05-07 20:07:48 -07:00
diamondburned (Forefront) 52ca6638f5 Discord: Fixed incorrect Audit Log structures 2020-05-07 20:01:44 -07:00
diamondburned ca80a524b0
Merge pull request #28 from mavolin/27-empty-payload 2020-05-07 17:10:08 -07:00
diamondburned (Forefront) 56d189be3d Discord/API: Added Audit Log 2020-05-07 17:09:45 -07:00
mavolin ac83d0b824
API: remove unused ErrEmojiTooLarge variable 2020-05-08 00:57:49 +02:00
mavolin ee32e54bff
API: fix #27 2020-05-08 00:47:08 +02:00
diamondburned (Forefront) 728815e945 API: Fixed Image and compile errors 2020-05-07 14:29:46 -07:00
diamondburned (Forefront) eb09447323 State: Fixed a data race for (*DefaultStore).Messages() 2020-05-07 12:39:47 -07:00
diamondburned (Forefront) 9e33386546 Merge branch 'master' of github.com:diamondburned/arikawa 2020-05-07 12:33:06 -07:00
diamondburned (Forefront) 619558ecab API: Several breaking updates to conform with current documentation 2020-05-07 12:32:56 -07:00
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