diff --git a/src/commands/score.ts b/src/commands/score.ts index 0de813e..5ceacdd 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -155,6 +155,7 @@ export default class Score extends Command { embed.setFooter(this.client.user.username, this.client.user.avatarURL); } if (args[1] === 'hard' && this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 6)) { + if (score.pin?.length > 0) embed.addField('PIN', score.pin.join('-'), true); await message.channel.createMessage({ embed }); await message.channel.createMessage('***===BEGIN ADDITIONAL INFORMATION===***'); await this.client.commands.get('whois').run(message, [user.id]); diff --git a/src/intervals/score.ts b/src/intervals/score.ts index 9b71836..fc88a5d 100644 --- a/src/intervals/score.ts +++ b/src/intervals/score.ts @@ -132,7 +132,7 @@ export default async function calculateScore(client: Client): Promise