Browse Source

Change embed colors

master
Abheek Dhawan 4 years ago
parent
commit
740eedb697
  1. 4
      index.js

4
index.js

@ -112,7 +112,7 @@ async function helpMessage(message) {
.addField(`View users with role`, `${prefix}usersWithRole [role]`) .addField(`View users with role`, `${prefix}usersWithRole [role]`)
.setThumbnail(client.user.avatarURL()) .setThumbnail(client.user.avatarURL())
.setFooter(`Bot ID: ${client.user.id}`) .setFooter(`Bot ID: ${client.user.id}`)
.setColor("b8f2eb") .setColor("00c5ff")
.setTimestamp(); .setTimestamp();
message.channel.send(helpEmbed).catch(console.error); message.channel.send(helpEmbed).catch(console.error);
} }
@ -155,7 +155,7 @@ async function aboutServer(message) {
.addField("User Statuses", `🟦 • ${numOnline} online\n\n🟧 • ${numAway} away\n\n⬛ • ${numOffline} offline\n\n🟥 • ${numDND} DND`) .addField("User Statuses", `🟦 • ${numOnline} online\n\n🟧 • ${numAway} away\n\n⬛ • ${numOffline} offline\n\n🟥 • ${numDND} DND`)
.setThumbnail(message.guild.iconURL()) .setThumbnail(message.guild.iconURL())
.setFooter(`Server ID: ${message.guild.id}`) .setFooter(`Server ID: ${message.guild.id}`)
.setColor("b8f2eb") .setColor("00c5ff")
.setTimestamp(); .setTimestamp();
message.channel.send(aboutServerEmbed).catch(console.error); message.channel.send(aboutServerEmbed).catch(console.error);
} }

Loading…
Cancel
Save