Browse Source

Add icon URL and timestamp

master
Abheek Dhawan 4 years ago
parent
commit
4829b46b96
  1. 4
      index.js

4
index.js

@ -43,7 +43,9 @@ async function aboutServer(message) {
const aboutServerEmbed = new Discord.MessageEmbed()
.setTitle(`About \`${message.guild.name}\``)
.addField("Owner", `<@${message.guild.ownerID}>`)
.addField("Region", `${message.guild.region}`);
.addField("Region", `${message.guild.region}`)
.setThumbnail(message.guild.iconURL())
.setTimestamp();
message.channel.send(aboutServerEmbed).catch(console.error);
}

Loading…
Cancel
Save