Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add options for request methods Add functional options to request, RequestWithBucketID, RequestWithLockedBucket. These options allow for request modification and overriding REST related Session fields, such as Client, MaxRestRetries and ShouldRetryOnRateLimit. * feat: add context and retries options Implement WithContext and WithMaxRestRetries options. * feat: add documentation Add documentation to the options * feat(rest): add options to methods Add option arguments to all Session methods. * feat: add missed forwarded options * feat: reword documentation * refactor(requestConfig): rename to newRequestConfig Rename requestConfig to newRequestConfig to match other constructor functions naming. * style: manually revert documentation formatting Manually revert the formatting of documentation in certain functions. * feat(UserChannelPermissions): add description of fetchOptions Add description for fetchOptions parameter of Session.UserChannelPermissions. * feat(ChannelMessageSendEmbedReply): pass options Pass options to ChannelMessageSendEmbedsReply call in ChannelMessageSendEmbedReply * docs(InviteComplex): revert parameter descriptions removal
- Loading branch information