This commit is contained in:
Travis CI 2016-12-29 14:03:09 +00:00
parent a05850c741
commit 89a578a8cf
2 changed files with 2 additions and 2 deletions

View file

@ -2573,7 +2573,7 @@ class TextBasedChannel {
* .catch(console.error);
*/
send(content, options) {
if (!options && typeof content === 'object') {
if (!options && typeof content === 'object' && !(content instanceof Array)) {
options = content;
content = '';
} else if (!options) {

File diff suppressed because one or more lines are too long