Make Message.edit() accept arrays. (#630)

* Make Message.edit() accept arrays. Update corresponding parameters in docs (#624).

* Tweak parameter types in docs.

* Update docs.
This commit is contained in:
Kelvin Wu
2016-09-06 20:32:24 -04:00
committed by Schuyler Cebulskie
parent 17bee8084e
commit f3286402fb
4 changed files with 7 additions and 5 deletions

View File

@@ -267,7 +267,7 @@ class Message {
/**
* Edit the content of a message
* @param {string} content The new content for the message
* @param {StringResolvable} content The new content for the message
* @returns {Promise<Message>}
* @example
* // update the content of a message
@@ -281,7 +281,7 @@ class Message {
/**
* Reply to a message
* @param {string} content The content for the message
* @param {StringResolvable} content The content for the message
* @param {MessageOptions} [options = {}] The options to provide
* @returns {Promise<Message>}
* @example