* Add missing parameters/structs
Adds guild icon size parameter, guild banner size parameter, missing ClientStatus struct
* Add missing endpoint for animated banners
* feat: revert ClientStatus changes
Revert addition of ClientStatus since another PR was already merged with
it.
* feat: add documentation for size parameter
* refactor: move icon url logic into separate func
Move logic for icon URLs in various functions into a single iconURL
function. Similar to banner and avatar functions.
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
* feat: role connection metadata
* feat: add role connection endpoints
Add User Application Role Connection endpoints:
* Get User Application Role Connection
* Update User Application Role Connection
* feat: add example
Add basic example to showcase linked roles flow.
* refactor(endpoints): move role connection metadata
Move Application Role Connection Metadata endpoint to other Application
endpoints.
* feat: add regex pattern automod trigger
Add regex patterns metadata to AutoModerationTriggerMetadata.
* feat: add regex pattern example
Add showcase of regex filter into auto_moderation example.
* feat: cosmetic changes
Add period to the end of RegexPatterns documentation comment.
* feat: forums
Initial implementation of forum channels REST API
* fix: linter
* feat: cosmetic changes
Added periods in the end of all documentation comments
* fix(ChannelFlagRequireTag): incorrect value
Fix incorrect value of ChannelFlagRequireTag.
* refactor(DefaultReaction): rename to ForumDefaultReaction
Rename DefaultReaction to ForumDefaultReaction.
* fix(Channel): use ForumDefaultReaction
Use ForumDefaultReaction instead of DefaultReaction in DefaultReactionEmoji field.
* fix: gofmt
* feat: cosmetic changes
* Change "GUILD_FORUM" to "forum" in comment to ForumTag
* Fix spacing for documentation of embeds parameter in ForumThreadStartEmbeds
* docs(ForumThreadStartComplex): align parameters
Align documentation for parameters of ForumThreadStartComplex.
* refactor(GuildRoleEdit)!: use struct params
Refactor GuildRoleEdit to accept parameters using a Params struct.
Therefore also allow partial edits.
* feat(GuildRoleCreate): initial parameters
Make GuildRoleCreate accept a struct with initial parameters for a role
* refactor(ChannelEdit)!: replace ChannelEditComplex
Move funcitonality of ChannelEditComplex to ChannelEdit
* chore: deprecate ChannelEditComplex
* feat(GuildEmbed)!: allow partial edits
* Make fields omitempty
* Make `Enabled` field a pointer
* refactor(GuildEmbedEdit)!: use params struct
Refactor GuildEmbedEdit to accept parameters through GuildEmbed struct
* refactor(GuildMemberEdit)!: replace GuildMemberEditComplex
Move functionality fo GuildMemberEditComplex to GuildMemberEdit
* chore: deprecate GuildMemberEditComplex
* refactor(GuildEmojiCreate)!: use struct params
Refactor GuildEmojiCreate to take parameters using EmojiParams struct.
* refactor(GuildEmojiEdit)!: use struct params
Refactor GuildEmojiEdit to take parameters using EmojiParams struct.
* refactor(GuildMemberAdd)!: use struct params
Refactor GuildMemberAdd to take parameters using GuildMemberAddParams struct.
* refactor(GuildTemplateEdit)!: use struct params
Refactor GuildTemplateEdit to take parameters using GuildTemplateParams struct.
* refactor(GuildTemplateCreate)!: use struct params
Refactor GuildTemplateCreate to take parameters using GuildTemplateParams struct.
* chore(rest)!: use pointers for Params structs
Refactor methods with Params struct to use pointers
* chore: grammar and style fixes in comments