feat(APIMessage): remove disableMentions (#4836)

* chore: remove disableMentions

* style: fix eslint
This commit is contained in:
Advaith
2020-12-14 04:51:31 -08:00
committed by GitHub
parent 9c7fe34c50
commit 41078997ae
8 changed files with 1 additions and 94 deletions

View File

@@ -59,8 +59,6 @@ class TextBasedChannel {
* @property {MessageEmbed|Object} [embed] An embed for the message
* (see [here](https://discord.com/developers/docs/resources/channel#embed-object) for more details)
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content
* @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[]|BufferResolvable[]} [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
@@ -85,14 +83,6 @@ class TextBasedChannel {
* @typedef {string} MessageMentionTypes
*/
/**
* The type of mentions to disable.
* - `none`
* - `all`
* - `everyone`
* @typedef {string} DisableMentionType
*/
/**
* @typedef {Object} FileOptions
* @property {BufferResolvable} attachment File to attach