From f62edd18cdb6c10bbd7f372ffd2013360ca1fed9 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 17 Sep 2020 23:07:47 -0400 Subject: [PATCH] additional info on hard pulls --- src/commands/score.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/commands/score.ts b/src/commands/score.ts index 10bbf0e..0f884a7 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -144,6 +144,17 @@ export default class Score extends Command { } else { embed.setFooter(this.client.user.username, this.client.user.avatarURL); } + if (args[1] === 'hard') { + await message.channel.createMessage({ embed }); + await message.channel.createMessage('***===BEGIN ADDITIONAL INFORMATION===***'); + await this.client.commands.get('whois').run(message, [member.id]); + await this.client.commands.get('notes').run(message, [member.id]); + const whoisMessage = await message.channel.createMessage(`=whois ${member.user.id} --full`); + await whoisMessage.delete(); + const modlogsMessage = await message.channel.createMessage(`=modlogs ${message.author.id}`); + await modlogsMessage.delete(); + return await message.channel.createMessage('***===END ADDITIONAL INFORMATION===***'); + } return message.channel.createMessage({ embed }); } catch (err) { return this.client.util.handleError(err, message, this);