- Removed the phrase "partnered guilds" from the description of `guild.features`
**Reasoning:**
To prevent the assumption that **any** `guild.features` will be indicative of `guild.partnered`.
I just changed an incorrect key name that was introduced in Pull Request #3722. When destroying the websocket from the WebSocketShard#_send method it's using `close` as the key name instead of `closeCode`
* feat(GuildChannel): support conversion between text and news
* fix(Typings): add type to ChannelData
* fix(GuildChannel): use ChannelUpdate action handler to change class type
* Update src/structures/TextChannel.js
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
* fix(Typings): re-use ChannelType from GuildCreateChannelOptions
* fix(Typings): only allow text-news conversion
* fix(Typings): exclude -> pick (vlads suggestion)
* fix(Typings): pick -> exclude in two other spots
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
* fix(Message): #system not all nonzero message types are system
* feat(Message): introduce system message types
* refactor(Constants): change SystemMessageTypes to be exclusionary
* fix(Constants): only need to check if type exists
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com>
* fix(Constants): lint
* fix(Typings): add SystemMessageTypees to Constants
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com>
* Change permission overwrite methods descriptions
The methods `GuildChannel#updateOverwrite` and `#createOverwrite` had some awkward wording in the description: `. (...)` does not look good. This PR cleans up the descriptions to be one sentence that's clearer in meaning. There's also changes to make `permission overwrite/s` consistent - some lines had `permissions overwrite/s`.
* Update src/structures/GuildChannel.js
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
* Update src/structures/GuildChannel.js
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
* Update src/structures/GuildChannel.js
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
* feat(Message): remove reply functionality
* feat(InlineReplies): add INLINE_REPLY constant/typing
* feat(InlineReplies): add Message#replyReference property
* feat(InlineReplies): add typings for sending inline replies
* feat(InlineReplies): provide support for inline-replying to messages
* feat(Message): add referencedMessage getter
* fix: check that Message#reference is defined in referencedMessage
* refactor(InlineReplies): rename property, rework Message resolution
* docs: update jsdoc for inline replies
* feat(Message): inline reply method
* fix(ApiMessage): finish renaming replyTo
* fix: jsdocs for Message#referencedMessage
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>
* fix: restore reply typings
* fix: dont pass channel_id to API when replying
* chore: update jsdocs
* chore: more jsdoc updates
* feat(AllowedMentions): add typings for replied_user
* fix: naming conventions
* fix(Message): referenced_message is null, not undefined
* fix(MessageMentionOptions): repliedUser should be optional
* chore: get this back to the right state
* fix(ApiMessage): pass allowed_mentions when replying without content
* fix(ApiMessage): prevent mutation of client options
Co-authored-by: almostSouji <timoqueezle@gmail.com>
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>