mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
fix editing with an array (#1059)
* fix editing with an array * fix build * put this back because reasons * i'm having one of those nights
This commit is contained in:
parent
2c26d79f50
commit
7cbe81e71a
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ class Message {
|
|||
* .catch(console.error);
|
||||
*/
|
||||
edit(content, options) {
|
||||
if (!options && typeof content === 'object') {
|
||||
if (!options && typeof content === 'object' && !(content instanceof Array)) {
|
||||
options = content;
|
||||
content = '';
|
||||
} else if (!options) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue