mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs(MessageMentionTypes): move possible values to description (#3990)
* docs(MessageMentionTypes): correct type * docs(MessageMentionTypes): change role to roles * docs(MessageMentionOptions): correct description to allow usage as an array * remove unneeded part of description Co-Authored-By: Ryan Munro <rsm999@uowmail.edu.au> * docs: add DisableMentionType to remove literal string types Co-authored-by: Ryan Munro <rsm999@uowmail.edu.au>
This commit is contained in:
@@ -86,8 +86,8 @@ class Webhook {
|
||||
* @property {Object[]} [embeds] An array of embeds for the message
|
||||
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content
|
||||
* (see [here](https://discordapp.com/developers/docs/resources/channel#embed-object) for more details)
|
||||
* @property {'none' | 'all' | 'everyone'} [disableMentions=this.client.options.disableMentions] Whether or not
|
||||
* all mentions or everyone/here mentions should be sanitized to prevent unexpected mentions
|
||||
* @property {DisableMentionType} [disableMentions=this.client.options.disableMentions] Whether or not all mentions or
|
||||
* everyone/here mentions should be sanitized to prevent unexpected mentions
|
||||
* @property {FileOptions[]|string[]} [files] Files to send with the message
|
||||
* @property {string|boolean} [code] Language for optional codeblock formatting to apply
|
||||
* @property {boolean|SplitOptions} [split=false] Whether or not the message should be split into multiple messages if
|
||||
|
||||
Reference in New Issue
Block a user