Browse Source

Add thumbnail for role info embed

master
Abheek Dhawan 4 years ago
parent
commit
5b936ff78a
  1. 1
      bot.js

1
bot.js

@ -362,6 +362,7 @@ async function roleInfo(message) {
.addField("Permissions", role.permissions.toArray().map(p => `\`${p}\``.toLowerCase()).join(' • ')) .addField("Permissions", role.permissions.toArray().map(p => `\`${p}\``.toLowerCase()).join(' • '))
.addField("Mentionable", role.mentionable) .addField("Mentionable", role.mentionable)
.setFooter("Role ID: " + role.id) .setFooter("Role ID: " + role.id)
.setThumbnail(message.author.avatarURL())
.setTimestamp() .setTimestamp()
.setColor('00aaff'); .setColor('00aaff');
message.channel.send(roleInfoEmbed) message.channel.send(roleInfoEmbed)

Loading…
Cancel
Save