Browse Source

Attempt to add region

master
Abheek Dhawan 4 years ago
parent
commit
163a0ebed0
  1. 5
      index.js

5
index.js

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

Loading…
Cancel
Save