This commit is contained in:
JonnyBro 2022-08-10 23:53:03 +05:00
parent 12855f99e9
commit 042b32d942

View file

@ -42,7 +42,7 @@ class GuildCreate extends BaseEvent {
text: client.config.embed.footer text: client.config.embed.footer
}) })
.setTimestamp(); .setTimestamp();
messageOptions.embed = thanksEmbed; messageOptions.embeds = [thanksEmbed];
const owner = await guild.fetchOwner(); const owner = await guild.fetchOwner();
owner.send(messageOptions); owner.send(messageOptions);