diff --git a/src/structures/Message.js b/src/structures/Message.js index ab6a82899..7fcc5b4b8 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -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 */ /** diff --git a/src/structures/interface/TextBasedChannel.js b/src/structures/interface/TextBasedChannel.js index 536131332..7d078816e 100644 --- a/src/structures/interface/TextBasedChannel.js +++ b/src/structures/interface/TextBasedChannel.js @@ -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. */