From 5b936ff78a97f267c8f2154d96bede23b4c0e67c Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Mon, 5 Apr 2021 10:30:59 -0500 Subject: [PATCH] Add thumbnail for role info embed --- bot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.js b/bot.js index e1eb23b..3080cb0 100644 --- a/bot.js +++ b/bot.js @@ -362,6 +362,7 @@ async function roleInfo(message) { .addField("Permissions", role.permissions.toArray().map(p => `\`${p}\``.toLowerCase()).join(' • ')) .addField("Mentionable", role.mentionable) .setFooter("Role ID: " + role.id) + .setThumbnail(message.author.avatarURL()) .setTimestamp() .setColor('00aaff'); message.channel.send(roleInfoEmbed)