let channelID;
let channels = guild.channels;
channelLoop:
for (let c of channels) {
let channelType = c[1].type;
if (channelType === "text") {
channelID = c[0];
break channelLoop;
}
}
let channel = client.channels.get(guild.systemChannelID || channelID);
channel.send(`Your message here!`);
put this code inside your “guildCreate” event, and everytime your bot joins a new server, it will send whatever message you specified, to the first channel in the server!
underneath let channel = ... have your embed code, then for channel.send just have channel.send(embed) replace embed with whatever you defined your embed as.