diamondburned
d69d6750dc
API: Separated min function
2020-12-26 16:08:41 -08:00
diamondburned
91dc41e388
API: Expose Max fetch constants
...
This commit exposes the Max fetch constants to allow package users to
externally reimplement any part of the API abstractions without having
to redeclare more constants.
2020-12-16 12:26:25 -08:00
mavolin
a3aa53dcff
API: rename Client.GuildVanityURL to Client.GuildVanityInvite
2020-11-21 10:12:12 -08:00
Maximilian von Lindern
1d58ea57fb
Discord: Add missing guild widget methods ( #168 )
...
* Discord: cleanup comments
* Discord: differentiate between GuildWidget and GuildWidgetSettings
* Discord: rename GuildImageURL and GuildImage to GuildWidgetURL and GuildWidget
* Discord: add missing guild widget endpoints
2020-11-21 09:40:54 -08:00
mavolin
59d2ac8959
API: fix wrong constants getting used for fetch limits
2020-11-21 08:36:14 -08:00
Maximilian von Lindern
cc1975988d
API: abstract away boundary limits for DeleteMessages ( #159 )
...
remove boundary limits for DeleteMessages
rename deleteMessages to deleteMessagesRaw
use constant instead of limit literal
add min helper func
rename utils.go to math.go
2020-11-10 15:34:05 -08:00
mavolin
88258b51c2
replace usage of discordapp.com with discord.com in docs
2020-11-03 10:14:53 -08:00
diamondburned
75df94d9f4
*: Migrated Go Modules to v2
2020-10-28 15:39:59 -07:00
diamondburned
196cab2105
API: Better documented ModifyGuildWidgetData
2020-10-28 14:43:49 -07:00
Maximilian von Lindern
397d288927
API: fix errors in message pagination and streamline changes with other pagination methods ( #150 )
...
* API: fix faulty pagination behavior
This fix fixes a condition which lead to all messages getting fetched if the limit was a multiple of 100, instead of just the limit.
* API: add NewestMessages
* API: clarify MessageAfter docs
* API: adapt paginating methods for guild, member and message reaction to match the style of message's pagination methods
* API: return nil if no items were fetched
* API: remove Messages and Rename NewestMessages to Messages
2020-10-19 07:47:43 -07:00
mavolin
ba1fc650d1
API: fix wrong typed Snowflake
2020-07-29 20:03:24 -07:00
Maximilian von Lindern
908ef96089
Discord: Uint64 typed Snowflakes ( #132 )
...
* Use typed Snowflakes if possible
* Discord: make Snowflakes uint64
* Fix errors that emerged because of new typing
2020-07-29 16:58:33 -07:00
Tadeo Kondrak
d290b0d01c
*: Add typed Snowflake IDs ( #122 )
...
This PR closes #120 .
2020-07-29 16:58:33 -07:00
mavolin
e4b43c0a83
Discord: fix invalid calc of after
2020-05-22 16:01:09 -07:00
mavolin
1c53befad4
API: fix wrong endpoint for GuildWidget and ModifyGuildWidget
2020-05-17 10:34:11 -07:00
mavolin
b3fabae701
API: implement #77
2020-05-17 01:35:57 +02:00
mavolin
22a6994c50
Discord: implement #74
2020-05-16 17:57:25 +02:00
mavolin
b5dedf9408
API/Discord: add GuildPreview
2020-05-15 20:10:35 +02:00
Maximilian von Lindern
ae14c8fb73
Merge branch 'master' into 44-data-structs
2020-05-12 03:57:35 +02:00
mavolin
04a80d33e8
API: add docs, use option types
2020-05-12 03:44:13 +02:00
diamondburned
36a18da10a
Merge pull request #53 from mavolin/39-empty-payload
2020-05-11 17:17:29 -07:00
mavolin
f597d11852
API: fix #39
2020-05-11 20:32:28 +02:00
mavolin
ec706b6ad2
API: fix #36
2020-05-11 20:24:28 +02:00
mavolin
b17c32187e
API: implement option and nullable types.
2020-05-11 05:24:59 +02:00
mavolin
a29a521c5a
Utils: add nullable package
2020-05-11 04:30:34 +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
mavolin
984c8f0239
API: fix #35
2020-05-11 01:48:26 +02:00
mavolin
cb0cba93fd
API: rename GuildImageType to GuildImageStyle
2020-05-10 22:13:47 +02:00
diamondburned (Forefront)
0f38294048
API: Added GuildWithCount
2020-05-09 14:59:39 -07:00
diamondburned (Forefront)
23b0abdfec
Adopted several packages to use NullSnowflake and NullSeconds
2020-05-08 14:25:07 -07:00
diamondburned (Forefront)
3a43e413d8
Utils: Deprecated client-scoped JSON driver
2020-05-07 20:43:46 -07:00
diamondburned (Forefront)
52ca6638f5
Discord: Fixed incorrect Audit Log structures
2020-05-07 20:01:44 -07:00
diamondburned (Forefront)
56d189be3d
Discord/API: Added Audit Log
2020-05-07 17:09:45 -07:00
diamondburned (Forefront)
619558ecab
API: Several breaking updates to conform with current documentation
2020-05-07 12:32:56 -07:00
diamondburned (Forefront)
c1ace1829b
API: Added an integration test for React
2020-04-26 17:27:08 -07:00
diamondburned (Forefront)
2afe683b7d
Utils: Added HTTP drivers
2020-04-19 14:53:53 -07:00
diamondburned (Forefront)
bf93a9cee9
Changed endpoint constants to variables
2020-04-19 09:30:12 -07:00
diamondburned (Forefront)
be12849668
Changed internal/ to utils/, allowing external imports
2020-04-08 19:28:40 -07:00
diamondburned (Forefront)
958f592cb4
Finished state
2020-01-18 11:34:08 -08:00
diamondburned (Forefront)
ef0dd9beef
Added API integration tests
2020-01-15 20:44:11 -08:00
diamondburned
127c636310
Moved misc packages to internal
2020-01-15 10:32:54 -08:00
diamondburned (Forefront)
03d226e23d
WIP integration test
2020-01-14 23:34:18 -08:00
diamondburned (Forefront)
d6ab7b9d52
Completed guilds, added max pagination API
2020-01-06 22:45:29 -08:00
diamondburned (Forefront)
966d14a32f
Nitpicking function signature formatting
2020-01-05 21:32:25 -08:00
diamondburned (Forefront)
084cf093ae
Changed Range method APIs
2020-01-05 21:22:26 -08:00
diamondburned (Forefront)
a386f6a359
More things, what a pain in the ass
2020-01-05 19:48:39 -08:00
diamondburned (Forefront)
d56e3fae0f
Added some more
2020-01-04 23:50:22 -08:00
diamondburned
6b993f2032
Added Permissions and stuff
2020-01-03 20:19:24 -08:00
diamondburned
e41a2c7c42
Moved Discord structs to package discord
2020-01-02 11:53:08 -08:00