Document boolean for code option

This commit is contained in:
Schuyler Cebulskie
2016-12-29 10:51:05 -05:00
parent 86ffc86324
commit ba77e69edf
2 changed files with 2 additions and 2 deletions

View File

@@ -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
*/
/**

View File

@@ -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.
*/