1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-09 16:35:12 +00:00
Commit graph

335 commits

Author SHA1 Message Date
mavolin e522aaef9b
Discord: add Enum type 2020-05-11 03:24:11 +02:00
mavolin 795182df16
Discord: docs: add 2020-05-11 03:14:46 +02:00
mavolin c642c8f306
Discord: refactor: move json.OptionT to dedicated json/option package 2020-05-11 03:14:30 +02:00
diamondburned 65bb8d21ee
Merge pull request #34 from mavolin/31-guild-image-style 2020-05-10 17:34:29 -07:00
diamondburned bc27d1481d
Merge pull request #37 from mavolin/35-modify-integration 2020-05-10 16:50:47 -07:00
mavolin 984c8f0239
API: fix #35 2020-05-11 01:48:26 +02:00
mavolin 1b990cd58d
Discord: add dedicated type for ExpireBehavior 2020-05-11 01:45:44 +02:00
diamondburned 06d3ebd3f7
Merge pull request #33 from mavolin/32-invite 2020-05-10 13:14:27 -07:00
mavolin cb0cba93fd
API: rename GuildImageType to GuildImageStyle 2020-05-10 22:13:47 +02:00
mavolin 3dd8daca3d
Discord: Fix #32 2020-05-10 22:11:11 +02:00
diamondburned (Forefront) a298160529 API: Fixed schema error 2020-05-09 16:25:24 -07:00
diamondburned (Forefront) 0f38294048 API: Added GuildWithCount 2020-05-09 14:59:39 -07:00
diamondburned (Forefront) ea27e7c88d API: MoveChannelData.Position shouldn't have omitempty 2020-05-08 14:32:18 -07:00
diamondburned (Forefront) 23b0abdfec Adopted several packages to use NullSnowflake and NullSeconds 2020-05-08 14:25:07 -07:00
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