From 1065194167daf15ee9db7f95127a6c54494d0f22 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 22:35:41 -0500 Subject: [PATCH] Fix member permissions formatting --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1ae8049..3321c3a 100644 --- a/index.js +++ b/index.js @@ -142,7 +142,7 @@ async function userInfo(message) { const userInfoEmbed = new Discord.MessageEmbed() .setAuthor(member.user.tag, member.user.avatarURL()) .addField("Roles", member.roles.cache.map(r => `${r}`).join(' • ')) - .addField("Permissions", member.permissions.toArray().map(p => `${p}`).join(' • ')) + .addField("Permissions", member.permissions.toArray().map(p => `\`${p}\``).join(' • ')) .setColor("00c5ff") .setFooter(`User ID: ${member.user.id}`) .setTimestamp();