From 042b32d9427cd8f54c8c473c5ccab28b30cfce05 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 10 Aug 2022 23:53:03 +0500 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- events/Guild/guildCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/Guild/guildCreate.js b/events/Guild/guildCreate.js index d746d2e9..a3401aa8 100644 --- a/events/Guild/guildCreate.js +++ b/events/Guild/guildCreate.js @@ -42,7 +42,7 @@ class GuildCreate extends BaseEvent { text: client.config.embed.footer }) .setTimestamp(); - messageOptions.embed = thanksEmbed; + messageOptions.embeds = [thanksEmbed]; const owner = await guild.fetchOwner(); owner.send(messageOptions);