From 9005f9de750e319c88099f9fee06f05bb75895ff Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sat, 9 Sep 2023 16:48:55 +1000 Subject: [PATCH] Update SO link --- src/commands/roleinfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/roleinfo.ts b/src/commands/roleinfo.ts index e3ca7f3..a395129 100644 --- a/src/commands/roleinfo.ts +++ b/src/commands/roleinfo.ts @@ -10,7 +10,7 @@ export default { {name: '🔹 Creation Date', value: `\n`, inline: true}, {name: '🔹 Misc', value: `Hoist: \`${role.hoist}\`\nMentionable: \`${role.mentionable}\`\nPosition: \`${role.position}\` from bottom\nMembers: \`${role.members.size}\`\n${role.members.size < 21 ? role.members.map((e:Discord.GuildMember)=>`**${e.user.username}**`).join('\n') || '' : ''}`, inline: true}, {name: '🔹 Permissions', value: `${permissions.includes('Administrator') ? ['Administrator'] : permissions.join(', ').replace(/([a-z])([A-Z])/g, '$1 $2') || 'No permissions'}`, inline: true} - )]})// https://stackoverflow.com/questions/15343163/add-a-space-between-two-words - For anonymous programmer, you know who I am talking to. You're welcome... + )]})// https://stackoverflow.com/a/15343790 - For anonymous programmer, you know who I am talking to. You're welcome... }, data: new Discord.SlashCommandBuilder() .setName('roleinfo')