mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01: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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user