mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Document boolean for code option
This commit is contained in:
parent
86ffc86324
commit
ba77e69edf
2 changed files with 2 additions and 2 deletions
|
|
@ -369,7 +369,7 @@ class Message {
|
|||
* Options that can be passed into editMessage
|
||||
* @typedef {Object} MessageEditOptions
|
||||
* @property {Object} [embed] An embed to be added/edited
|
||||
* @property {string} [code] Language for optional codeblock formatting to apply
|
||||
* @property {string|boolean} [code] Language for optional codeblock formatting to apply
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class TextBasedChannel {
|
|||
* @property {boolean} [disableEveryone=this.client.options.disableEveryone] Whether or not @everyone and @here
|
||||
* should be replaced with plain-text
|
||||
* @property {FileOptions|string} [file] A file to send with the message
|
||||
* @property {string} [code] Language for optional codeblock formatting to apply
|
||||
* @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
|
||||
* it exceeds the character limit. If an object is provided, these are the options for splitting the message.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue