* feat(components): auto-populated selects
* Add component types for user, channel, role and mentionable selects
* Add MenuType field to SelectMenu for customization of select type
* Add basic example for auto-populated selects
* feat: implement SelectMenuType to restrict component types
Implement SelectMenuType to restrict component types that can be used
in MenuType field of SelectMenu structure.
* fix(SelectMenu): default type
Default to SelectMenuComponent type when MenuType is not specified.
* feat(examples/components): add ephemeral
Add ephemeral flag into response to match other component examples.
* feat(examples): option response and refactoring
* Add a response to the selected option.
* Refactor the command to match others.
* Remove showcase of multiple menu types.
* 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(examples/*): add readme
Add README.md to all examples.
* fix(examples): logo image link
* fix(examples): add fixed width to logo
* feat(examples): add titles
* fix(examples/*): make logo smaller
Make DiscordGo logo smaller to match description and title in size.
* fix(examples/avatar): correct avatar url
Use correct logo URL in avatar URL image example.
* fix(examples/slash_commands): wording
Fix wording of "step-by-step tutorial" note.
* feat(Ready): add shard and application fields
Add missing Shard and Application fields to Ready event struct.
* feat(Ready): make Shard pointer
Make Shard field pointer to be consistent with the API.
* 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
* feat(events)!: drop undocumented structs and fields
* feat(structs)!: drop undocumented structs and fields
* fix(eventhandlers): regenerate event handling code
* fix(Ready): add PrivateChannels back
* feat: auto moderation
* feat(examples/automod): add message content intent
* style(examples/automod): newline between sections
* feat(AutoModerationActionExecution): add user id
Add user_id field to AutoModerationActionExecution event.
* refactor(events): remove todos
Remove TODO comments for AutoModerationRuleUpdate and AutoModerationRuleDelete.
* feat(AutoModerationEventMessageSend): doc comment
Add documentation comment to AutoModerationEventMessageSend constant.
* add GET prefix for ApplicationCommands bucketID
* dont use local variable for bucketID
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
* format code
* remove newline
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
* fix(structs.go): fix GuildTemplate struct and documentation
* revert(structs.go): change description from a string ptr to a string
* fix(structs.go): make name and description a pointer and omitempty
* fix(structs.go): made Name field not a string pointer. removed extra files
* fix(structs.go): fix Name field not having a type